#include <exceptions_AMOS.hh>
Inheritance diagram for AMOS::Exception_t:
Public Member Functions | |
Exception_t (const std::string &what, int line=0, const std::string &file=NULL_STRING) | |
Informative constructor. | |
~Exception_t () throw () | |
Default destructor. | |
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. |
All other AMOS exceptions will be derived from this class, so catching for this class should effectively catch all AMOS exceptions.
Definition at line 30 of file exceptions_AMOS.hh.
|
Informative constructor.
References file(). |
|
Default destructor. Definition at line 60 of file exceptions_AMOS.hh. |
|
Returns the file (if available) of the exception. Definition at line 67 of file exceptions_AMOS.hh. Referenced by 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. |