FIFE  2008.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
FIFE::Exception Class Reference

#include <exception.h>

Collaboration diagram for FIFE::Exception:
Collaboration graph

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 43 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 36 of file exception.cpp.

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

Destructor.

Definition at line 39 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 41 of file exception.cpp.

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

Here is the caller graph for this function:


The documentation for this class was generated from the following files: