COPASI API
4.16.103
|
#include <StdException.h>
Public Member Functions | |
StdException () throw () | |
StdException (const std::string what) throw () | |
virtual const char * | what () const throw () |
virtual | ~StdException () throw () |
Protected Attributes | |
std::string | message |
Simple exception class that implements the what() function of std::exception to specify an error message.
Definition at line 23 of file StdException.h.
StdException::StdException | ( | ) | ||
throw | ( | |||
) |
Constructor that sets the error message object to "Error."
Definition at line 18 of file StdException.cpp.
References message.
|
explicit |
Constructor that sets the error message object to the string given.
Definition at line 26 of file StdException.cpp.
|
virtual |
|
virtual |
Returns the error message object as a character array.
Definition at line 40 of file StdException.cpp.
References message.
|
protected |
Definition at line 47 of file StdException.h.
Referenced by StdException(), and what().