#include <Exception.h>
Public Member Functions | |
ExceptionBase () throw () | |
ExceptionBase (const std::string &msg) throw () | |
~ExceptionBase () throw () | |
virtual const char * | type () const=0 throw () |
virtual const char * | what () const throw () |
It is based on the std::exception class. As required by its inheritance from std::exceptions not throw other exceptions, the no-throw exception specification has been added to every member function.
Definition at line 57 of file Exception.h.
GG::ExceptionBase::ExceptionBase | ( | ) | throw () [inline] |
GG::ExceptionBase::ExceptionBase | ( | const std::string & | msg | ) | throw () [inline] |
a ctor that allows the throwing code to include a text message
Definition at line 61 of file Exception.h.
GG::ExceptionBase::~ExceptionBase | ( | ) | throw () [inline] |
virtual const char* GG::ExceptionBase::type | ( | ) | const throw () [pure virtual] |
returns a string representation of the type this exception