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