gedi::Exception Class Reference

#include <Exception.h>

Inherited by gedi::ABOException, gedi::InputManagerException, gedi::JoystickException, gedi::RGBAImageException, gedi::SAMException, and gedi::TextException.

Inheritance diagram for gedi::Exception:

[legend]
List of all members.

Public Member Functions

 Exception (const LPSTR pMessage, gedi::UInt32 iCode)
virtual const LPSTR what ()
const char * GetMessage ()
const gedi::UInt32 GetCode ()

Detailed Description

Mirus base exception class which extends the STL exception class.

Most Mirus object (should?) throw exceptions using this class.


Constructor & Destructor Documentation

gedi::Exception::Exception ( const LPSTR  pMessage,
gedi::UInt32  iCode 
) [inline]

Mirus base exception constructor.

Parameters:
pMessage Outgoing message.
iCode Message code number.


Member Function Documentation

virtual const LPSTR gedi::Exception::what (  )  [inline, virtual]

Returns the message string.

Returns:
String message.

const char* gedi::Exception::GetMessage (  )  [inline]

Returns the message string.

Returns:
String message.

const gedi::UInt32 gedi::Exception::GetCode (  )  [inline]

Returns the message code.

Returns:
Code number.


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