sot-core  4.10.1
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  */
virtual const std::string & getExceptionName(void) const
Definition: exception-dynamic.hh:44
Definition: exception-abstract.hh:44
Definition: exception-dynamic.hh:37
Definition: exception-dynamic.hh:28
Definition: exception-dynamic.hh:39
#define SOT_CORE_EXPORT
Definition: api.hh:20
Definition: exception-abstract.hh:35
ErrorCodeEnum
Definition: exception-dynamic.hh:32
virtual ~ExceptionDynamic(void)
Definition: exception-dynamic.hh:53
Definition: abstract-sot-external-interface.hh:17
Definition: exception-dynamic.hh:38
static const std::string EXCEPTION_NAME
Definition: exception-dynamic.hh:43