exception-dynamic.hh
Go to the documentation of this file.
1 /*
2  * Copyright 2010,
3  * François Bleibel,
4  * Olivier Stasse,
5  *
6  * CNRS/AIST
7  *
8  */
9 
10 #ifndef __SOT_DYNAMIC_EXCEPTION_H
11 #define __SOT_DYNAMIC_EXCEPTION_H
12 
13 /* --------------------------------------------------------------------- */
14 /* --- INCLUDE --------------------------------------------------------- */
15 /* --------------------------------------------------------------------- */
16 
18 
19 #include "sot/core/api.hh"
20 /* --------------------------------------------------------------------- */
21 /* --- CLASS ----------------------------------------------------------- */
22 /* --------------------------------------------------------------------- */
23 
24 namespace dynamicgraph {
25 namespace sot {
26 
27 /* \class ExceptionDynamic
28  */
30 
31 {
32  public:
34  GENERIC = ExceptionAbstract::DYNAMIC
35 
36  ,
41  INTEGRATION
42  };
43 
44  static const std::string EXCEPTION_NAME;
45  virtual const std::string &getExceptionName(void) const {
46  return EXCEPTION_NAME;
47  }
48 
49  public:
51  const std::string &msg = "");
53  const std::string &msg, const char *format, ...);
54  virtual ~ExceptionDynamic(void) throw() {}
55 };
56 
57 } /* namespace sot */
58 } /* namespace dynamicgraph */
59 
60 #endif /* #ifndef __SOT_DYNAMIC_EXCEPTION_H */
61 
62 /*
63  * Local variables:
64  * c-basic-offset: 2
65  * End:
66  */
SOT_CORE_EXPORT
#define SOT_CORE_EXPORT
Definition: api.hh:20
dynamicgraph
dynamicgraph::sot::ExceptionDynamic
Definition: exception-dynamic.hh:29
dynamicgraph::sot::ExceptionDynamic::getExceptionName
virtual const std::string & getExceptionName(void) const
Definition: exception-dynamic.hh:45
dynamicgraph::sot::ExceptionDynamic::ErrorCodeEnum
ErrorCodeEnum
Definition: exception-dynamic.hh:33
dynamicgraph::sot::ExceptionDynamic::DYNAMIC_JRL
@ DYNAMIC_JRL
Definition: exception-dynamic.hh:39
dynamicgraph::sot::ExceptionDynamic::JOINT_SIZE
@ JOINT_SIZE
Definition: exception-dynamic.hh:40
dynamicgraph::sot::ExceptionDynamic::CANT_DESTROY_SIGNAL
@ CANT_DESTROY_SIGNAL
Definition: exception-dynamic.hh:37
dynamicgraph::ExceptionAbstract
api.hh
dynamicgraph::sot::ExceptionDynamic::EXCEPTION_NAME
static const std::string EXCEPTION_NAME
Definition: exception-dynamic.hh:44
exception-abstract.hh
dynamicgraph::sot::ExceptionDynamic::JOINT_RANK
@ JOINT_RANK
Definition: exception-dynamic.hh:38
dynamicgraph::sot::ExceptionDynamic::~ExceptionDynamic
virtual ~ExceptionDynamic(void)
Definition: exception-dynamic.hh:54


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