Public Types | Public Member Functions | Static Public Attributes | List of all members
dynamicgraph::sot::ExceptionFactory Class Reference

#include <exception-factory.hh>

Inheritance diagram for dynamicgraph::sot::ExceptionFactory:
Inheritance graph
[legend]

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::ExceptionAbstract
enum  ExceptionEnum
 

Public Member Functions

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

Static Public Attributes

static const std::string EXCEPTION_NAME = "Factory"
 
- Static Public Attributes inherited from dynamicgraph::ExceptionAbstract
static const std::string EXCEPTION_NAME
 

Additional Inherited Members

- Public Attributes inherited from dynamicgraph::ExceptionAbstract
 ABSTRACT
 
 FACTORY
 
 SIGNAL
 
 TOOLS
 
 TRACES
 
- Protected Attributes inherited from dynamicgraph::ExceptionAbstract
int code
 
std::string message
 

Detailed Description

Definition at line 29 of file exception-factory.hh.

Member Enumeration Documentation

◆ ErrorCodeEnum

Enumerator
GENERIC 
UNREFERED_OBJECT 
UNREFERED_SIGNAL 
UNREFERED_FUNCTION 
DYNAMIC_LOADING 
SIGNAL_CONFLICT 
FUNCTION_CONFLICT 
OBJECT_CONFLICT 
SYNTAX_ERROR 
READ_FILE 

Definition at line 33 of file exception-factory.hh.

Constructor & Destructor Documentation

◆ ExceptionFactory() [1/2]

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

Definition at line 24 of file exception-factory.cpp.

◆ ExceptionFactory() [2/2]

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

Definition at line 31 of file exception-factory.cpp.

◆ ~ExceptionFactory()

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

Definition at line 57 of file exception-factory.hh.

Member Function Documentation

◆ getExceptionName()

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

Reimplemented from dynamicgraph::ExceptionAbstract.

Definition at line 49 of file exception-factory.hh.

Member Data Documentation

◆ EXCEPTION_NAME

const std::string ExceptionFactory::EXCEPTION_NAME = "Factory"
static

Definition at line 48 of file exception-factory.hh.


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


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:32