copasi API
0.1
|
#include <StdException.h>
Public Member Functions | |
StdException () throw () | |
StdException (const std::string what) throw () | |
virtual | ~StdException () throw () |
virtual const char * | what () const throw () |
Protected Attributes | |
std::string | message |
Simple exception class that implements the what() function of std::exception to specify an error message.
StdException::StdException | ( | ) | throw () |
Constructor that sets the error message object to "Error."
StdException::StdException | ( | const std::string | what | ) | throw () [explicit] |
Constructor that sets the error message object to the string given.
StdException::~StdException | ( | ) | throw () [virtual] |
Destructor that does nothing.
const char * StdException::what | ( | ) | const throw () [virtual] |
Returns the error message object as a character array.
std::string StdException::message [protected] |