dynamicgraph::python::ExceptionPython Class Reference

Generic error class. More...

#include <dynamic-graph/python/exception-python.hh>

Inheritance diagram for dynamicgraph::python::ExceptionPython:
[legend]
Collaboration diagram for dynamicgraph::python::ExceptionPython:
[legend]

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
 

Detailed Description

Generic error class.

Member Enumeration Documentation

Enumerator
GENERIC 
VALUE_PARSING 
VECTOR_PARSING 
MATRIX_PARSING 
CLASS_INCONSISTENT 

Constructor & Destructor Documentation

dynamicgraph::python::ExceptionPython::ExceptionPython ( const ExceptionPython::ErrorCodeEnum errcode,
const std::string &  msg = "" 
)
explicit

References dgDEBUG, and dgDEBUGF().

dynamicgraph::python::ExceptionPython::ExceptionPython ( const ExceptionPython::ErrorCodeEnum errcode,
const std::string &  msg,
const char *  format,
  ... 
)
virtual dynamicgraph::python::ExceptionPython::~ExceptionPython ( )
throw (
)
inlinevirtual

Member Function Documentation

virtual const std::string& dynamicgraph::python::ExceptionPython::getExceptionName ( ) const
inlinevirtual

Reimplemented from dynamicgraph::ExceptionAbstract.

References EXCEPTION_NAME.

Member Data Documentation

const std::string dynamicgraph::python::ExceptionPython::EXCEPTION_NAME = "Python"
static