dynamicgraph::python::ExceptionPython Class Reference

Generic error class. More...

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

Inheritance diagram for dynamicgraph::python::ExceptionPython:
Collaboration diagram for dynamicgraph::python::ExceptionPython:

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

◆ ErrorCodeEnum

Enumerator
GENERIC 
VALUE_PARSING 
VECTOR_PARSING 
MATRIX_PARSING 
CLASS_INCONSISTENT 

Constructor & Destructor Documentation

◆ ExceptionPython() [1/2]

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

◆ ExceptionPython() [2/2]

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

◆ ~ExceptionPython()

virtual dynamicgraph::python::ExceptionPython::~ExceptionPython ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ getExceptionName()

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

Member Data Documentation

◆ EXCEPTION_NAME

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

The documentation for this class was generated from the following files: