#include <exception.h>
Public Member Functions | |
Exception () | |
Exception (const string &message) | |
Exception (const char *message) | |
virtual | ~Exception () |
virtual string | getMessage (void) |
Protected Attributes | |
string | message |
Definition at line 28 of file exception.h.
libglass::Exception::Exception | ( | ) | [inline] |
Exception constructor.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
message | The message to set. |
Definition at line 35 of file exception.h.
libglass::Exception::Exception | ( | const string & | message | ) | [inline] |
Definition at line 41 of file exception.h.
libglass::Exception::Exception | ( | const char * | message | ) | [inline] |
Definition at line 47 of file exception.h.
virtual libglass::Exception::~Exception | ( | ) | [inline, virtual] |
Destructor
Definition at line 52 of file exception.h.
virtual string libglass::Exception::getMessage | ( | void | ) | [inline, virtual] |
Gets a explicative message of the reason for the exception.
Definition at line 59 of file exception.h.
string libglass::Exception::message [protected] |
Message of the exception.
Definition at line 30 of file exception.h.