exception-signal.h
Go to the documentation of this file.
1 // -*- mode: c++ -*-
2 // Copyright 2010, Fran├žois Bleibel, Thomas Moulard, Olivier Stasse,
3 // JRL, CNRS/AIST.
4 //
5 
6 #ifndef DYNAMIC_GRAPH_EXCEPTION_SIGNAL_H
7 #define DYNAMIC_GRAPH_EXCEPTION_SIGNAL_H
8 
11 
12 #include <dynamic-graph/fwd.hh>
13 
14 namespace dynamicgraph {
19 class DYNAMIC_GRAPH_DLLAPI ExceptionSignal : public ExceptionAbstract {
20  public:
28  BAD_CAST
29  };
30 
31  static const std::string EXCEPTION_NAME;
32 
33  explicit ExceptionSignal(const ExceptionSignal::ErrorCodeEnum &errcode,
34  const std::string &msg = "");
36  const std::string &msg, const char *format, ...);
37  virtual ~ExceptionSignal() throw() {}
38 
39  virtual const std::string &getExceptionName() const { return EXCEPTION_NAME; }
40 };
41 
42 } // end of namespace dynamicgraph
43 
44 #endif
static const std::string EXCEPTION_NAME
Exceptions raised when an error related to signals happen.
Abstract root class for all dynamic-graph exceptions.
virtual const std::string & getExceptionName() const


dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:06:03