#include <exception-factory.hh>
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 |
Definition at line 29 of file exception-factory.hh.
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.
ExceptionFactory::ExceptionFactory | ( | const ExceptionFactory::ErrorCodeEnum & | errcode, |
const std::string & | msg = "" |
||
) |
Definition at line 24 of file exception-factory.cpp.
ExceptionFactory::ExceptionFactory | ( | const ExceptionFactory::ErrorCodeEnum & | errcode, |
const std::string & | msg, | ||
const char * | format, | ||
... | |||
) |
Definition at line 31 of file exception-factory.cpp.
|
inlinevirtual |
Definition at line 57 of file exception-factory.hh.
|
inlinevirtual |
Reimplemented from dynamicgraph::ExceptionAbstract.
Definition at line 49 of file exception-factory.hh.
|
static |
Definition at line 48 of file exception-factory.hh.