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

#include <exception-task.hh>

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

Public Types

enum  ErrorCodeEnum {
  GENERIC = ExceptionAbstract::TASK, EMPTY_LIST, NON_ADEQUATE_FEATURES, MATRIX_SIZE,
  BOUND_TYPE, PARSER_MULTI_BOUND
}
 
- Public Types inherited from dynamicgraph::ExceptionAbstract
enum  ExceptionEnum
 

Public Member Functions

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

Member Enumeration Documentation

◆ ErrorCodeEnum

Enumerator
GENERIC 
EMPTY_LIST 
NON_ADEQUATE_FEATURES 
MATRIX_SIZE 
BOUND_TYPE 
PARSER_MULTI_BOUND 

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

Constructor & Destructor Documentation

◆ ExceptionTask() [1/2]

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

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

◆ ExceptionTask() [2/2]

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

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

◆ ~ExceptionTask()

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

Definition at line 51 of file exception-task.hh.

Member Function Documentation

◆ getExceptionName()

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

Reimplemented from dynamicgraph::ExceptionAbstract.

Definition at line 43 of file exception-task.hh.

Member Data Documentation

◆ EXCEPTION_NAME

const std::string ExceptionTask::EXCEPTION_NAME = "Task"
static

Definition at line 42 of file exception-task.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