FIFE
|
#include <exception.h>
Inherits runtime_error.
Public Member Functions | |
Exception (const std::string &msg) | |
Constructor. More... | |
virtual | ~Exception () throw () |
Destructor. More... | |
virtual const char * | what () const throw () |
Returns the error message. More... | |
virtual const std::string & | getTypeStr () const |
virtual const std::string & | getDescription () const |
Private Attributes | |
std::string | m_what |
Exception base class.
All other exceptions derived from this merely adjust the error string to be slightly more specific.
Definition at line 43 of file exception.h.
FIFE::Exception::Exception | ( | const std::string & | msg | ) |
Constructor.
msg | The error mesage to be stored. |
Definition at line 36 of file exception.cpp.
|
virtual |
Destructor.
Definition at line 39 of file exception.cpp.
|
inlinevirtual |
Definition at line 60 of file exception.h.
Referenced by what().
|
inlinevirtual |
Definition at line 59 of file exception.h.
Referenced by what().
|
virtual |
Returns the error message.
Definition at line 41 of file exception.cpp.
References getDescription(), getTypeStr(), and m_what.
Referenced by FIFE::VFS::createSource(), and FIFE::Console::execute().
|
private |
Definition at line 63 of file exception.h.
Referenced by what().