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

Exceptions raised when an error related to traces happen. More...

#include <exception-traces.h>

Inheritance diagram for dynamicgraph::ExceptionTraces:
Inheritance graph
[legend]

Public Types

enum  ErrorCodeEnum { GENERIC = ExceptionAbstract::TRACES, NOT_OPEN }
 
- Public Types inherited from dynamicgraph::ExceptionAbstract
enum  ExceptionEnum {
  ABSTRACT = 0, SIGNAL = 100, FACTORY = 200, TRACES = 300,
  TOOLS = 700
}
 Categories error code. More...
 

Public Member Functions

 ExceptionTraces (const ExceptionTraces::ErrorCodeEnum &errcode, const std::string &msg="")
 
 ExceptionTraces (const ExceptionTraces::ErrorCodeEnum &errcode, const std::string &msg, const char *format,...)
 
virtual const std::string & getExceptionName () const
 
virtual ~ExceptionTraces () throw ()
 
- Public Member Functions inherited from dynamicgraph::ExceptionAbstract
 ExceptionAbstract (const int &code, const std::string &msg="")
 
int getCode () const
 Access to the error code. More...
 
const char * getMessage () const
 Access to the pointer on the array of char related to the error string. More...
 
const std::string & getStringMessage () const
 Reference access to the error message (can be empty). More...
 
virtual const char * what () const throw ()
 
virtual ~ExceptionAbstract () throw ()
 

Static Public Attributes

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

Additional Inherited Members

- Protected Attributes inherited from dynamicgraph::ExceptionAbstract
int code
 Error code. More...
 
std::string message
 Error message (can be empty). More...
 

Detailed Description

Exceptions raised when an error related to traces happen.

Definition at line 18 of file exception-traces.h.

Member Enumeration Documentation

◆ ErrorCodeEnum

Enumerator
GENERIC 
NOT_OPEN 

Definition at line 20 of file exception-traces.h.

Constructor & Destructor Documentation

◆ ExceptionTraces() [1/2]

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

Definition at line 22 of file exception-traces.cpp.

◆ ExceptionTraces() [2/2]

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

Definition at line 26 of file exception-traces.cpp.

◆ ~ExceptionTraces()

virtual dynamicgraph::ExceptionTraces::~ExceptionTraces ( )
throw (
)
inlinevirtual

Definition at line 28 of file exception-traces.h.

Member Function Documentation

◆ getExceptionName()

virtual const std::string& dynamicgraph::ExceptionTraces::getExceptionName ( ) const
inlinevirtual

Reimplemented from dynamicgraph::ExceptionAbstract.

Definition at line 30 of file exception-traces.h.

Member Data Documentation

◆ EXCEPTION_NAME

const std::string ExceptionTraces::EXCEPTION_NAME = "Traces"
static

Definition at line 22 of file exception-traces.h.


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


dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:06:03