#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.
| AMOS::Exception_t::Exception_t | ( | const std::string & | what, | |
| int | line = 0, |
|||
| const std::string & | file = NULL_STRING | |||
| ) | [inline] |
Informative constructor.
| what | Brief description of the exception | |
| line | Line number of the exception | |
| file | File name of the exception |
Definition at line 50 of file exceptions_AMOS.hh.
| AMOS::Exception_t::~Exception_t | ( | ) | throw () [inline] |
| virtual const char* AMOS::Exception_t::file | ( | ) | const [inline, virtual] |
| virtual int AMOS::Exception_t::line | ( | ) | const [inline, virtual] |
Returns the line number (if available) of the exception.
Definition at line 76 of file exceptions_AMOS.hh.
| virtual const char* AMOS::Exception_t::what | ( | ) | const throw ( ) [inline, virtual] |
Returns a short description (if available) of the exception.
Definition at line 85 of file exceptions_AMOS.hh.
1.4.7