Public Member Functions

FIFE::Exception Class Reference

#include <exception.h>

List of all members.

Public Member Functions

 Exception (const std::string &msg)
virtual ~Exception ()
std::string getMessage () const

Detailed Description

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

Definition at line 41 of file exception.h.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
txt The error mesage to be stored.

Definition at line 35 of file exception.cpp.

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

Destructor.

Definition at line 39 of file exception.cpp.


Member Function Documentation

std::string FIFE::Exception::getMessage (  )  const

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: