sot-core  4.10.1
Hierarchical task solver plug-in for dynamic-graph.
exception-tools.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_TOOLS_EXCEPTION_H
11 #define __SOT_TOOLS_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 ExceptionTools
27  */
29 
30 {
31 public:
34 
35  ,
38  PARAMETER_SERVER
39  };
40 
41  static const std::string EXCEPTION_NAME;
42  virtual const std::string &getExceptionName() const { return EXCEPTION_NAME; }
43 
44 public:
46  const std::string &msg = "");
48  const std::string &msg, const char *format, ...);
49  virtual ~ExceptionTools(void) throw() {}
50 };
51 
52 } // namespace sot
53 } // namespace dynamicgraph
54 
55 #endif /* #ifndef __SOT_TOOLS_EXCEPTION_H */
56 
57 /*
58  * Local variables:
59  * c-basic-offset: 2
60  * End:
61  */
static const std::string EXCEPTION_NAME
Definition: exception-tools.hh:41
Definition: exception-abstract.hh:46
ErrorCodeEnum
Definition: exception-tools.hh:32
#define SOT_CORE_EXPORT
Definition: api.hh:20
Definition: exception-abstract.hh:35
Definition: exception-tools.hh:36
Definition: exception-tools.hh:28
virtual ~ExceptionTools(void)
Definition: exception-tools.hh:49
virtual const std::string & getExceptionName() const
Definition: exception-tools.hh:42
Definition: abstract-sot-external-interface.hh:17
Definition: exception-tools.hh:37