sot-core  4.11.4
Hierarchical task solver plug-in for dynamic-graph.
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 
17 #include "sot/core/api.hh"
19 /* --------------------------------------------------------------------- */
20 /* --- CLASS ----------------------------------------------------------- */
21 /* --------------------------------------------------------------------- */
22 
23 namespace dynamicgraph {
24 namespace sot {
25 
26 /* \class ExceptionDynamic
27  */
29 
30 {
31 public:
34 
35  ,
40  INTEGRATION
41  };
42 
43  static const std::string EXCEPTION_NAME;
44  virtual const std::string &getExceptionName(void) const {
45  return EXCEPTION_NAME;
46  }
47 
48 public:
50  const std::string &msg = "");
52  const std::string &msg, const char *format, ...);
53  virtual ~ExceptionDynamic(void) throw() {}
54 };
55 
56 } /* namespace sot */
57 } /* namespace dynamicgraph */
58 
59 #endif /* #ifndef __SOT_DYNAMIC_EXCEPTION_H */
60 
61 /*
62  * Local variables:
63  * c-basic-offset: 2
64  * End:
65  */
SOT_CORE_EXPORT
#define SOT_CORE_EXPORT
Definition: api.hh:20
dynamicgraph::sot::ExceptionAbstract
Definition: exception-abstract.hh:35
dynamicgraph
Definition: abstract-sot-external-interface.hh:17
dynamicgraph::sot::ExceptionDynamic
Definition: exception-dynamic.hh:28
dynamicgraph::sot::ExceptionDynamic::getExceptionName
virtual const std::string & getExceptionName(void) const
Definition: exception-dynamic.hh:44
dynamicgraph::sot::ExceptionDynamic::ErrorCodeEnum
ErrorCodeEnum
Definition: exception-dynamic.hh:32
dynamicgraph::sot::ExceptionDynamic::DYNAMIC_JRL
@ DYNAMIC_JRL
Definition: exception-dynamic.hh:38
dynamicgraph::sot::ExceptionDynamic::JOINT_SIZE
@ JOINT_SIZE
Definition: exception-dynamic.hh:39
dynamicgraph::sot::ExceptionDynamic::CANT_DESTROY_SIGNAL
@ CANT_DESTROY_SIGNAL
Definition: exception-dynamic.hh:36
dynamicgraph::sot::ExceptionDynamic::EXCEPTION_NAME
static const std::string EXCEPTION_NAME
Definition: exception-dynamic.hh:43
api.hh
dynamicgraph::sot::ExceptionAbstract::DYNAMIC
@ DYNAMIC
Definition: exception-abstract.hh:44
exception-abstract.hh
dynamicgraph::sot::ExceptionDynamic::JOINT_RANK
@ JOINT_RANK
Definition: exception-dynamic.hh:37
dynamicgraph::sot::ExceptionDynamic::~ExceptionDynamic
virtual ~ExceptionDynamic(void)
Definition: exception-dynamic.hh:53