FIFE 2008.0
FIFE::Exception Class Reference

#include <exception.h>

List of all members.

Public Member Functions

 Exception (const std::string &msg)
virtual ~Exception () throw ()
virtual const char * what () const throw ()

Detailed Description

Exception base class. All other exceptions derived from this merely adjust the error string to be slightly more specific.

Definition at line 42 of file exception.h.


Constructor & Destructor Documentation

FIFE::Exception::Exception ( const std::string &  msg)

Constructor.

Parameters:
msgThe error mesage to be stored.

Definition at line 37 of file exception.cpp.

References what().

FIFE::Exception::~Exception ( ) throw () [virtual]

Destructor.

Definition at line 41 of file exception.cpp.


Member Function Documentation

const char * FIFE::Exception::what ( ) const throw () [virtual]

Returns the error message.

Returns:
The error message.

Definition at line 43 of file exception.cpp.

Referenced by FIFE::VFS::createSource(), Exception(), and FIFE::Console::execute().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Enumerations Enumerator