TAP
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
TAP::constraint_error Class Reference

Exception class raised when an argument constraint is not satisfied. More...

#include <Exceptions.hpp>

Inheritance diagram for TAP::constraint_error:
TAP::exception

Public Member Functions

 constraint_error (const std::string &reason, const std::vector< const BaseArgument * > &args)
 Creates the exception with a reason for a constraint failure, and the list of arguments involved. More...
 
- Public Member Functions inherited from TAP::exception
 exception (std::string what)
 Creates the exception with the given message. More...
 
 exception ()
 Creates the exception with no message.
 
const char * what () const noexceptoverride
 See std::exception::what().
 

Additional Inherited Members

- Protected Attributes inherited from TAP::exception
std::string m_what
 Description of the exception. More...
 

Detailed Description

Exception class raised when an argument constraint is not satisfied.

Constructor & Destructor Documentation

TAP::constraint_error::constraint_error ( const std::string &  reason,
const std::vector< const BaseArgument * > &  args 
)

Creates the exception with a reason for a constraint failure, and the list of arguments involved.

Parameters
reasonReason of failure
argsList of arguments that caused the failure

The documentation for this class was generated from the following file: