FIFE
be64c707dea6b3250bd4355bf5c825d25920087d
|
#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 |
void | update () |
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.
References update().
Referenced by update().
|
inlinevirtual |
Definition at line 59 of file exception.h.
Referenced by update().
void FIFE::Exception::update | ( | ) |
Definition at line 45 of file exception.cpp.
References getDescription(), getTypeStr(), and m_what.
Referenced by getDescription().
|
virtual |
Returns the error message.
Definition at line 41 of file exception.cpp.
References m_what.
Referenced by FIFE::VFS::createSource(), and FIFE::Console::execute().
|
private |
Definition at line 65 of file exception.h.