Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Exception Class Reference

Base class for all SimData specific exceptions. More...

#include <Exception.h>

Inheritance diagram for Exception:

ExceptionBase List of all members.

Public Methods

 Exception (std::string const &type="Exception", std::string const &msg="")
std::string getMessage ()
 Get the string describing the error.

std::string getType ()
 Get the string representing the type of error.

std::string getError ()
 Get the full error message (type + message).

void appendMessage (std::string const &msg)
 Append additional information to the error description.

void addMessage (std::string const &msg)
 Add (prepend) additional information to the error description.

void clear ()
 Reset the exception so that it will not print to stderr on destruction.

void details ()
 Dump information about the exception to stderr.


Detailed Description

Base class for all SimData specific exceptions.


Constructor & Destructor Documentation

Exception::Exception std::string const &    type = "Exception",
std::string const &    msg = ""
[inline]
 


Member Function Documentation

void ExceptionBase::addMessage std::string const &    msg [inherited]
 

Add (prepend) additional information to the error description.

void ExceptionBase::appendMessage std::string const &    msg [inherited]
 

Append additional information to the error description.

void ExceptionBase::clear   [inherited]
 

Reset the exception so that it will not print to stderr on destruction.

void ExceptionBase::details   [inherited]
 

Dump information about the exception to stderr.

std::string ExceptionBase::getError   [inherited]
 

Get the full error message (type + message).

std::string ExceptionBase::getMessage   [inherited]
 

Get the string describing the error.

std::string ExceptionBase::getType   [inherited]
 

Get the string representing the type of error.


The documentation for this class was generated from the following file:
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage.

Generated on Tue Oct 14 12:06:40 2003, using Doxygen 1.2.18.

[SF.net]