Error Class Reference
#include <Exceptions.h>
List of all members.
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.
std::string Error::getErrMsg |
( |
|
) |
const [inline] |
Returns the error message.
- Returns:
- the error message.
void Error::setErrCode |
( |
ErrorCode |
errCode |
) |
[inline] |
Sets the error code.
- Parameters:
-
void Error::setErrMsg |
( |
std::string |
errMsg |
) |
[inline] |
Sets the error message.
- Parameters:
-
| errMsg | the error message. |
Member Data Documentation
The documentation for this class was generated from the following file:
- /home/gomez/Documents/workspaces/treqs/treqs/src/Exceptions.h