dynamicgraph::ExceptionFactory Class Reference

Generic error class. More...

#include <dynamic-graph/exception-factory.h>

Inheritance diagram for dynamicgraph::ExceptionFactory:
[legend]
Collaboration diagram for dynamicgraph::ExceptionFactory:
[legend]

List of all members.

Public Types

enum  ErrorCodeEnum {
  GENERIC = ExceptionAbstract::FACTORY,
  UNREFERED_OBJECT,
  UNREFERED_SIGNAL,
  UNREFERED_FUNCTION,
  DYNAMIC_LOADING,
  SIGNAL_CONFLICT,
  FUNCTION_CONFLICT,
  OBJECT_CONFLICT,
  SYNTAX_ERROR,
  READ_FILE
}

Public Member Functions

 ExceptionFactory (const ExceptionFactory::ErrorCodeEnum &errcode, const std::string &msg="")
 ExceptionFactory (const ExceptionFactory::ErrorCodeEnum &errcode, const std::string &msg, const char *format,...)
virtual ~ExceptionFactory () throw ()
virtual const std::string & getExceptionName () const

Static Public Attributes

static const std::string EXCEPTION_NAME

Detailed Description

Generic error class.


Member Enumeration Documentation

Enumerator:
GENERIC 
UNREFERED_OBJECT 
UNREFERED_SIGNAL 
UNREFERED_FUNCTION 
DYNAMIC_LOADING 
SIGNAL_CONFLICT 
FUNCTION_CONFLICT 
OBJECT_CONFLICT 
SYNTAX_ERROR 
READ_FILE 

Constructor & Destructor Documentation

dynamicgraph::ExceptionFactory::ExceptionFactory ( const ExceptionFactory::ErrorCodeEnum errcode,
const std::string &  msg = "" 
) [explicit]
dynamicgraph::ExceptionFactory::ExceptionFactory ( const ExceptionFactory::ErrorCodeEnum errcode,
const std::string &  msg,
const char *  format,
  ... 
)
virtual dynamicgraph::ExceptionFactory::~ExceptionFactory ( ) throw () [inline, virtual]

Member Function Documentation

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

Reimplemented from dynamicgraph::ExceptionAbstract.

References EXCEPTION_NAME.


Member Data Documentation

Reimplemented from dynamicgraph::ExceptionAbstract.

Referenced by getExceptionName().