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  ,
37  KALMAN_SIZE
38  };
39 
40  static const std::string EXCEPTION_NAME;
41  virtual const std::string &getExceptionName() const { return EXCEPTION_NAME; }
42 
43 public:
45  const std::string &msg = "");
47  const std::string &msg, const char *format, ...);
48  virtual ~ExceptionTools(void) throw() {}
49 };
50 
51 } // namespace sot
52 } // namespace dynamicgraph
53 
54 #endif /* #ifndef __SOT_TOOLS_EXCEPTION_H */
55 
56 /*
57  * Local variables:
58  * c-basic-offset: 2
59  * End:
60  */
static const std::string EXCEPTION_NAME
Definition: exception-tools.hh:40
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:48
virtual const std::string & getExceptionName() const
Definition: exception-tools.hh:41
Definition: abstract-sot-external-interface.hh:17