Thrown when Exceptions occur. More...
#include <Exception.h>
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 |
Thrown when Exceptions occur.
Thrown when exception occur. Provides an error code and a description.
| Exception::Exception | ( | int | code, | |
| const std::string & | brief, | |||
| const std::string & | description | |||
| ) | [inline] |
| 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.
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.
1.7.1