#include <exception.h>
Public Member Functions | |
Exception (const std::string &msg) | |
virtual | ~Exception () |
std::string | getMessage () const |
Exception base class. All other exceptions derived from this merely adjust the error string to be slightly more specific.
Definition at line 41 of file exception.h.
FIFE::Exception::Exception | ( | const std::string & | msg | ) |
Constructor.
txt | The error mesage to be stored. |
Definition at line 35 of file exception.cpp.
FIFE::Exception::~Exception | ( | ) | [virtual] |
Destructor.
Definition at line 39 of file exception.cpp.
std::string FIFE::Exception::getMessage | ( | ) | const |
Returns the error message.
Definition at line 41 of file exception.cpp.
Referenced by FIFE::VFS::createSource(), and FIFE::Console::execute().