sot-core  4.11.8
Hierarchical task solver plug-in for dynamic-graph.
dynamicgraph::sot::ExceptionFactory Class Reference

#include <sot/core/exception-factory.hh>

Inheritance diagram for dynamicgraph::sot::ExceptionFactory:

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 Types inherited from dynamicgraph::sot::ExceptionAbstract
enum  ExceptionEnum {
  ABSTRACT = 0 , SIGNAL = 100 , TASK = 200 , FEATURE = 300 ,
  FACTORY = 400 , DYNAMIC = 500 , TRACES = 600 , TOOLS = 700 ,
  PATTERN_GENERATOR = 800
}
 

Public Member Functions

virtual const std::string & getExceptionName (void) const
 
 ExceptionFactory (const ExceptionFactory::ErrorCodeEnum &errcode, const std::string &msg="")
 
 ExceptionFactory (const ExceptionFactory::ErrorCodeEnum &errcode, const std::string &msg, const char *format,...)
 
virtual ~ExceptionFactory (void) throw ()
 
- Public Member Functions inherited from dynamicgraph::sot::ExceptionAbstract
 ExceptionAbstract (const int &code, const std::string &msg="")
 
virtual ~ExceptionAbstract (void) throw ()
 
int getCode (void)
 
const std::string & getStringMessage (void)
 
const char * getMessage (void)
 
const char * what () const throw ()
 

Static Public Attributes

static const std::string EXCEPTION_NAME
 
- Static Public Attributes inherited from dynamicgraph::sot::ExceptionAbstract
static const std::string EXCEPTION_NAME
 

Additional Inherited Members

- Protected Attributes inherited from dynamicgraph::sot::ExceptionAbstract
int code
 
std::string message
 

Member Enumeration Documentation

◆ ErrorCodeEnum

Enumerator
GENERIC 
UNREFERED_OBJECT 
UNREFERED_SIGNAL 
UNREFERED_FUNCTION 
DYNAMIC_LOADING 
SIGNAL_CONFLICT 
FUNCTION_CONFLICT 
OBJECT_CONFLICT 
SYNTAX_ERROR 
READ_FILE 

Constructor & Destructor Documentation

◆ ExceptionFactory() [1/2]

dynamicgraph::sot::ExceptionFactory::ExceptionFactory ( const ExceptionFactory::ErrorCodeEnum errcode,
const std::string &  msg = "" 
)

◆ ExceptionFactory() [2/2]

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

◆ ~ExceptionFactory()

virtual dynamicgraph::sot::ExceptionFactory::~ExceptionFactory ( void  )
throw (
)
inlinevirtual

Member Function Documentation

◆ getExceptionName()

virtual const std::string& dynamicgraph::sot::ExceptionFactory::getExceptionName ( void  ) const
inlinevirtual

Member Data Documentation

◆ EXCEPTION_NAME

const std::string dynamicgraph::sot::ExceptionFactory::EXCEPTION_NAME
static

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