dynamic_graph_manager
exception-dynamic.hh
Go to the documentation of this file.
1 
10 #ifndef DYNAMIC_EXCEPTION_HH
11 #define DYNAMIC_EXCEPTION_HH
12 
13 /* --------------------------------------------------------------------- */
14 /* --- INCLUDE --------------------------------------------------------- */
15 /* --------------------------------------------------------------------- */
16 
18 
19 /* --------------------------------------------------------------------- */
20 /* --- CLASS ----------------------------------------------------------- */
21 /* --------------------------------------------------------------------- */
22 
23 namespace dynamic_graph
24 {
27 {
28 public:
29  enum ErrorCodeEnum
30  {
31  GENERIC = ExceptionAbstract::DYNAMIC
32 
33  ,
34  CANT_DESTROY_SIGNAL,
35  JOINT_RANK,
36  DYNAMIC_JRL,
37  JOINT_SIZE,
38  INTEGRATION
39  };
40 
41  static const std::string EXCEPTION_NAME;
42  virtual const std::string& getExceptionName(void) const
43  {
44  return EXCEPTION_NAME;
45  }
46 
47 public:
48  ExceptionDynamic(const ExceptionDynamic::ErrorCodeEnum& errcode,
49  const std::string& msg = "");
50  ExceptionDynamic(const ExceptionDynamic::ErrorCodeEnum& errcode,
51  const std::string& msg,
52  const char* format,
53  ...);
54  virtual ~ExceptionDynamic(void) throw()
55  {
56  }
57 };
58 } /* namespace dynamic_graph */
59 
60 #endif /* #ifndef DYNAMIC_EXCEPTION_HH */
61 
62 /*
63  * Local variables:
64  * c-basic-offset: 2
65  * End:
66  */
ExceptionDynamic.
Definition: exception-dynamic.hh:26
The ExceptionAbstract class.
Definition: exception-abstract.hh:33
this is this package namespace in order to avoid naming conflict
Definition: device.hh:22