libglass::Exception Class Reference

#include <exception.h>

Inheritance diagram for libglass::Exception:

libglass::EmptyException

List of all members.

Public Member Functions

 Exception ()
 Exception (const string &message)
 Exception (const char *message)
virtual ~Exception ()
virtual string getMessage (void)

Protected Attributes

string message


Detailed Description

Definition at line 28 of file exception.h.


Constructor & Destructor Documentation

libglass::Exception::Exception (  )  [inline]

Exception constructor.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters:
message The message to set.

Definition at line 35 of file exception.h.

libglass::Exception::Exception ( const string message  )  [inline]

Definition at line 41 of file exception.h.

libglass::Exception::Exception ( const char *  message  )  [inline]

Definition at line 47 of file exception.h.

virtual libglass::Exception::~Exception (  )  [inline, virtual]

Destructor

Definition at line 52 of file exception.h.


Member Function Documentation

virtual string libglass::Exception::getMessage ( void   )  [inline, virtual]

Gets a explicative message of the reason for the exception.

Returns:
The message of the Exception.

Definition at line 59 of file exception.h.


Member Data Documentation

Message of the exception.

Definition at line 30 of file exception.h.


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

Generated on Fri May 28 13:19:01 2010 for libGlass by  doxygen 1.5.8