Generic error class. More...
#include <dynamic-graph/python/exception-python.hh>
Public Types | |
| enum | ErrorCodeEnum { GENERIC, VALUE_PARSING, VECTOR_PARSING, MATRIX_PARSING, CLASS_INCONSISTENT } |
Public Types inherited from dynamicgraph::ExceptionAbstract | |
| enum | ExceptionEnum |
Public Member Functions | |
| ExceptionPython (const ExceptionPython::ErrorCodeEnum &errcode, const std::string &msg="") | |
| ExceptionPython (const ExceptionPython::ErrorCodeEnum &errcode, const std::string &msg, const char *format,...) | |
| virtual | ~ExceptionPython () throw () |
| virtual const std::string & | getExceptionName () const |
Public Member Functions inherited from dynamicgraph::ExceptionAbstract | |
| ExceptionAbstract (const int &code, const std::string &msg="") | |
| virtual | ~ExceptionAbstract () |
| int | getCode () const |
| const std::string & | getStringMessage () const |
| const char * | getMessage () const |
| virtual const char * | what () const |
Static Public Attributes | |
| static const std::string | EXCEPTION_NAME = "Python" |
Static Public Attributes inherited from dynamicgraph::ExceptionAbstract | |
| static const std::string | EXCEPTION_NAME |
Additional Inherited Members | |
Public Attributes inherited from dynamicgraph::ExceptionAbstract | |
| ABSTRACT | |
| SIGNAL | |
| FACTORY | |
| TRACES | |
| TOOLS | |
Protected Attributes inherited from dynamicgraph::ExceptionAbstract | |
| int | code |
| std::string | message |
Generic error class.
|
explicit |
References dgDEBUG, and dgDEBUGF().
| dynamicgraph::python::ExceptionPython::ExceptionPython | ( | const ExceptionPython::ErrorCodeEnum & | errcode, |
| const std::string & | msg, | ||
| const char * | format, | ||
| ... | |||
| ) |
References dgDEBUG, EXCEPTION_NAME, and dynamicgraph::ExceptionAbstract::message.
|
inlinevirtual | |||||||||||||
|
inlinevirtual |
Reimplemented from dynamicgraph::ExceptionAbstract.
References EXCEPTION_NAME.
|
static |
Referenced by ExceptionPython(), and getExceptionName().