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]

List of all members.

Public Types

enum  ErrorCodeEnum {
  GENERIC,
  VALUE_PARSING,
  VECTOR_PARSING,
  MATRIX_PARSING,
  CLASS_INCONSISTENT
}

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

Static Public Attributes

static const std::string EXCEPTION_NAME = "Python"

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 () [inline, virtual]

Member Function Documentation

virtual const std::string& dynamicgraph::python::ExceptionPython::getExceptionName ( ) const [inline, virtual]

Reimplemented from dynamicgraph::ExceptionAbstract.

References EXCEPTION_NAME.


Member Data Documentation

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

Reimplemented from dynamicgraph::ExceptionAbstract.

Referenced by ExceptionPython(), and getExceptionName().