Error Class Reference

#include <Exceptions.h>

Inheritance diagram for Error:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Error ()
 Error (ErrorCode errCode, std::string errMsg)
 ~Error ()
std::string getErrMsg () const
ErrorCode getErrCode () const
void setErrMsg (std::string errMsg)
void setErrCode (ErrorCode errCode)

Protected Attributes

std::string errMsg
 The error message.
ErrorCode errCode
 The error code.

Detailed Description

Basic exception. All other are derived from this class. TODO : rename to basic exception


Constructor & Destructor Documentation

Error::Error (  )  [inline]
Error::Error ( ErrorCode  errCode,
std::string  errMsg 
) [inline]
Error::~Error (  )  [inline]

Member Function Documentation

ErrorCode Error::getErrCode (  )  const [inline]

Returns the error code.

Returns:
the error code.

Here is the caller graph for this function:

std::string Error::getErrMsg (  )  const [inline]

Returns the error message.

Returns:
the error message.

Here is the caller graph for this function:

void Error::setErrCode ( ErrorCode  errCode  )  [inline]

Sets the error code.

Parameters:
errCode the error code.

Here is the caller graph for this function:

void Error::setErrMsg ( std::string  errMsg  )  [inline]

Sets the error message.

Parameters:
errMsg the error message.

Here is the caller graph for this function:


Member Data Documentation

The error code.

std::string Error::errMsg [protected]

The error message.


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

Generated on 4 Mar 2010 for TReqS by  doxygen 1.6.1