Public Member Functions | Private Attributes

Exception Class Reference

Thrown when Exceptions occur. More...

#include <Exception.h>

List of all members.

Public Member Functions

 Exception (int code, const std::string &brief, const std::string &description)
const std::string & getBriefDescription () const
const std::string & getDescription () const
int getCode () const

Private Attributes

std::string mErrorBrief
std::string mErrorDescription
int mErrorCode

Detailed Description

Thrown when Exceptions occur.

Thrown when exception occur. Provides an error code and a description.


Constructor & Destructor Documentation

Exception::Exception ( int  code,
const std::string &  brief,
const std::string &  description 
) [inline]

Member Function Documentation

const std::string& Exception::getBriefDescription (  )  const [inline]

Gets a brief description of the Exception.

int Exception::getCode (  )  const [inline]

Gets an Exception ID.

const std::string& Exception::getDescription (  )  const [inline]

Gets a full description of the Exception.


Member Data Documentation

std::string Exception::mErrorBrief [private]

Brief description of the error.

int Exception::mErrorCode [private]

Error Code

std::string Exception::mErrorDescription [private]

Full description of the Error.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines