#include <exceptions_AMOS.hh>
Inheritance diagram for AMOS::ArgumentException_t:
Public Member Functions | |
ArgumentException_t (const std::string &what, int line=0, const std::string &file=NULL_STRING) | |
Informative constructor. | |
virtual const char * | file () const |
Returns the file (if available) of the exception. | |
virtual int | line () const |
Returns the line number (if available) of the exception. | |
virtual const char * | what () const throw ( ) |
Returns a short description (if available) of the exception. |
Usually thrown when a function argument does not satisfy the preconditions. The reason for the exception can be retrieved with the what( ) function inherited from the Exception_t class. This is primarily a logic error and can usually be avoided entirely, so the user probably does not need to catch for this exception except for debugging purposes.
Definition at line 194 of file exceptions_AMOS.hh.
|
Informative constructor.
|
|
Returns the file (if available) of the exception. Definition at line 67 of file exceptions_AMOS.hh. Referenced by AMOS::Exception_t::Exception_t(). |
|
Returns the line number (if available) of the exception. Definition at line 76 of file exceptions_AMOS.hh. |
|
Returns a short description (if available) of the exception. Definition at line 85 of file exceptions_AMOS.hh. |