#include <sot/core/exception-abstract.hh>
◆ ExceptionEnum
Enumerator |
---|
ABSTRACT | |
SIGNAL | |
TASK | |
FEATURE | |
FACTORY | |
DYNAMIC | |
TRACES | |
TOOLS | |
PATTERN_GENERATOR | |
◆ ExceptionAbstract()
dynamicgraph::sot::ExceptionAbstract::ExceptionAbstract |
( |
const int & |
code, |
|
|
const std::string & |
msg = "" |
|
) |
| |
◆ ~ExceptionAbstract()
virtual dynamicgraph::sot::ExceptionAbstract::~ExceptionAbstract |
( |
void |
| ) |
|
throw | ( | |
| ) | | |
|
inlinevirtual |
◆ getCode()
int dynamicgraph::sot::ExceptionAbstract::getCode |
( |
void |
| ) |
|
Access to the error code.
◆ getExceptionName()
virtual const std::string& dynamicgraph::sot::ExceptionAbstract::getExceptionName |
( |
void |
| ) |
const |
|
inlinevirtual |
◆ getMessage()
const char* dynamicgraph::sot::ExceptionAbstract::getMessage |
( |
void |
| ) |
|
Access to the pointer on the array of char related to the error string. Cannot be NULL.
◆ getStringMessage()
const std::string& dynamicgraph::sot::ExceptionAbstract::getStringMessage |
( |
void |
| ) |
|
Reference access to the error message (can be empty).
◆ what()
const char* dynamicgraph::sot::ExceptionAbstract::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
◆ operator<<
Print the error structure.
◆ code
int dynamicgraph::sot::ExceptionAbstract::code |
|
protected |
Error code.
- See also
- ErrorCodeEnum
◆ EXCEPTION_NAME
const std::string dynamicgraph::sot::ExceptionAbstract::EXCEPTION_NAME |
|
static |
◆ message
std::string dynamicgraph::sot::ExceptionAbstract::message |
|
protected |
Error message (can be empty).
The documentation for this class was generated from the following file: