Public Member Functions | |
ExcMessage (const char *a1) | |
virtual | ~ExcMessage () throw () |
virtual void | print_info (std::ostream &out) const |
Private Attributes | |
const char * | arg1 |
DeclException0
macro: that does not allow one to specify a message that is displayed when the exception is raised, as opposed to the other exceptions which allow to show a text along with the given parameters.
When throwing this exception, you can give a message as a char*
as argument to the exception that is then displayed.
StandardExceptions::ExcMessage::ExcMessage | ( | const char * | a1 | ) | [inline] |
virtual StandardExceptions::ExcMessage::~ExcMessage | ( | ) | throw () [inline, virtual] |
virtual void StandardExceptions::ExcMessage::print_info | ( | std::ostream & | out | ) | const [inline, virtual] |
Print more specific information about the exception which occured. Overload this function in your own exception classes.
Reimplemented from ExceptionBase.
const char* StandardExceptions::ExcMessage::arg1 [private] |