|
FIFE
|
#include <exception.h>
Inherits runtime_error.
Collaboration diagram for FIFE::Exception: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.
Referenced by update().
Here is the caller graph for this function:
|
inlinevirtual |
Definition at line 59 of file exception.h.
Referenced by update().
Here is the caller graph for this function:| void FIFE::Exception::update | ( | ) |
Definition at line 45 of file exception.cpp.
References getDescription(), getTypeStr(), and m_what.
|
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().
Here is the caller graph for this function:
|
private |
Definition at line 65 of file exception.h.