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  */
dynamicgraph::sot::ExceptionTools::ErrorCodeEnum
ErrorCodeEnum
Definition: exception-tools.hh:32
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::ExceptionTools
Definition: exception-tools.hh:28
dynamicgraph::sot::ExceptionTools::getExceptionName
virtual const std::string & getExceptionName() const
Definition: exception-tools.hh:41
dynamicgraph::sot::ExceptionTools::EXCEPTION_NAME
static const std::string EXCEPTION_NAME
Definition: exception-tools.hh:40
dynamicgraph::sot::ExceptionTools::~ExceptionTools
virtual ~ExceptionTools(void)
Definition: exception-tools.hh:48
api.hh
dynamicgraph::sot::ExceptionTools::CORBA
@ CORBA
Definition: exception-tools.hh:36
exception-abstract.hh
dynamicgraph::sot::ExceptionAbstract::TOOLS
@ TOOLS
Definition: exception-abstract.hh:46