#include <exceptions_AMOS.hh>
Inheritance diagram for AMOS::AllocException_t:
Public Member Functions | |
| AllocException_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. | |
Can be thrown in place of std::bad_alloc when a modified description, line number or file name would be helpful for debugging.
Definition at line 161 of file exceptions_AMOS.hh.
| AMOS::AllocException_t::AllocException_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 173 of file exceptions_AMOS.hh.
| virtual const char* AMOS::Exception_t::file | ( | ) | const [inline, virtual, inherited] |
| virtual int AMOS::Exception_t::line | ( | ) | const [inline, virtual, inherited] |
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, inherited] |
Returns a short description (if available) of the exception.
Definition at line 85 of file exceptions_AMOS.hh.
1.4.7