The ExceptionAbstract class.
More...
#include <exception-abstract.hh>
|
enum | ExceptionEnum {
ABSTRACT = 0,
SIGNAL = 100,
TASK = 200,
FEATURE = 300,
FACTORY = 400,
DYNAMIC = 500,
TRACES = 600,
TOOLS = 700,
PATTERN_GENERATOR = 800,
YAML_CPP_PARSING = 900
} |
|
|
virtual const std::string & | getExceptionName (void) const |
|
| ExceptionAbstract (const int &code, const std::string &msg="") |
|
int | getCode (void) |
| Access to the error code. More...
|
|
const std::string & | getStringMessage (void) |
| Reference access to the error message (can be empty). More...
|
|
const char * | getMessage (void) |
| Access to the pointer on the array of char related to the error string. More...
|
|
const char * | what () const throw () |
|
|
static const std::string | EXCEPTION_NAME = "Abstract" |
|
◆ ExceptionAbstract()
dynamic_graph::ExceptionAbstract::ExceptionAbstract |
( |
void |
| ) |
|
|
private |
forbid the empty constructor (private).
◆ getCode()
int ExceptionAbstract::getCode |
( |
void |
| ) |
|
Access to the error code.
◆ getMessage()
const char * ExceptionAbstract::getMessage |
( |
void |
| ) |
|
Access to the pointer on the array of char related to the error string.
Cannot be NULL.
◆ getStringMessage()
const string & ExceptionAbstract::getStringMessage |
( |
void |
| ) |
|
Reference access to the error message (can be empty).
◆ operator<<
Print the error structure.
◆ code
int dynamic_graph::ExceptionAbstract::code |
|
protected |
Error code.
- See also
- ErrorCodeEnum
◆ message
std::string dynamic_graph::ExceptionAbstract::message |
|
protected |
Error message (can be empty).
The documentation for this class was generated from the following files: