Exceptions raised when an error related to traces happen. More...
#include <exception-traces.h>

Public Types | |
| enum | ErrorCodeEnum { GENERIC = ExceptionAbstract::TRACES, NOT_OPEN } |
Public Types inherited from dynamicgraph::ExceptionAbstract | |
| enum | ExceptionEnum { ABSTRACT = 0, SIGNAL = 100, FACTORY = 200, TRACES = 300, TOOLS = 700 } |
| Categories error code. More... | |
Public Member Functions | |
| ExceptionTraces (const ExceptionTraces::ErrorCodeEnum &errcode, const std::string &msg, const char *format,...) | |
| ExceptionTraces (const ExceptionTraces::ErrorCodeEnum &errcode, const std::string &msg="") | |
| virtual const std::string & | getExceptionName () const |
| virtual | ~ExceptionTraces () throw () |
Public Member Functions inherited from dynamicgraph::ExceptionAbstract | |
| ExceptionAbstract (const int &code, const std::string &msg="") | |
| int | getCode () const |
| Access to the error code. More... | |
| const char * | getMessage () const |
| Access to the pointer on the array of char related to the error string. More... | |
| const std::string & | getStringMessage () const |
| Reference access to the error message (can be empty). More... | |
| virtual const char * | what () const throw () |
| virtual | ~ExceptionAbstract () throw () |
Static Public Attributes | |
| static const std::string | EXCEPTION_NAME = "Traces" |
Static Public Attributes inherited from dynamicgraph::ExceptionAbstract | |
| static const std::string | EXCEPTION_NAME = "Abstract" |
Additional Inherited Members | |
Protected Attributes inherited from dynamicgraph::ExceptionAbstract | |
| int | code |
| Error code. More... | |
| std::string | message |
| Error message (can be empty). More... | |
Exceptions raised when an error related to traces happen.
Definition at line 18 of file exception-traces.h.
| Enumerator | |
|---|---|
| GENERIC | |
| NOT_OPEN | |
Definition at line 20 of file exception-traces.h.
|
explicit |
Definition at line 22 of file exception-traces.cpp.
| ExceptionTraces::ExceptionTraces | ( | const ExceptionTraces::ErrorCodeEnum & | errcode, |
| const std::string & | msg, | ||
| const char * | format, | ||
| ... | |||
| ) |
Definition at line 26 of file exception-traces.cpp.
|
inlinevirtual | |||||||||||||
Definition at line 28 of file exception-traces.h.
|
inlinevirtual |
Reimplemented from dynamicgraph::ExceptionAbstract.
Definition at line 30 of file exception-traces.h.
|
static |
Definition at line 22 of file exception-traces.h.