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

#include <exception-feature.hh>

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

Public Types

enum  ErrorCodeEnum { GENERIC = ExceptionAbstract::FEATURE, BAD_INIT, UNCOMPATIBLE_SIZE }
 
- Public Types inherited from dynamicgraph::ExceptionAbstract
enum  ExceptionEnum
 

Public Member Functions

 ExceptionFeature (const ExceptionFeature::ErrorCodeEnum &errcode, const std::string &msg="")
 
 ExceptionFeature (const ExceptionFeature::ErrorCodeEnum &errcode, const std::string &msg, const char *format,...)
 
virtual const std::string & getExceptionName (void) const
 
virtual ~ExceptionFeature (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 = "Feature"
 
- 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-feature.hh.

Member Enumeration Documentation

◆ ErrorCodeEnum

Enumerator
GENERIC 
BAD_INIT 
UNCOMPATIBLE_SIZE 

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

Constructor & Destructor Documentation

◆ ExceptionFeature() [1/2]

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

Definition at line 23 of file exception-feature.cpp.

◆ ExceptionFeature() [2/2]

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

Definition at line 27 of file exception-feature.cpp.

◆ ~ExceptionFeature()

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

Definition at line 50 of file exception-feature.hh.

Member Function Documentation

◆ getExceptionName()

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

Reimplemented from dynamicgraph::ExceptionAbstract.

Definition at line 40 of file exception-feature.hh.

Member Data Documentation

◆ EXCEPTION_NAME

const std::string ExceptionFeature::EXCEPTION_NAME = "Feature"
static

Definition at line 39 of file exception-feature.hh.


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


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:27