exception-factory.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_EXCEPTION_FACTORY_H
11 #define __SOT_EXCEPTION_FACTORY_H
12 
13 /* --------------------------------------------------------------------- */
14 /* --- INCLUDE --------------------------------------------------------- */
15 /* --------------------------------------------------------------------- */
16 
18 
19 #include "sot/core/api.hh"
20 /* --------------------------------------------------------------------- */
21 /* --- CLASS ----------------------------------------------------------- */
22 /* --------------------------------------------------------------------- */
23 
24 namespace dynamicgraph {
25 namespace sot {
26 
27 /* \class ExceptionFactory
28  */
30 
31 {
32  public:
42  SYNTAX_ERROR // j' aime bien FATAL_ERROR aussi faut que je la case qq
43  // part...
44  ,
45  READ_FILE
46  };
47 
48  static const std::string EXCEPTION_NAME;
49  virtual const std::string &getExceptionName(void) const {
51  }
52 
54  const std::string &msg = "");
56  const std::string &msg, const char *format, ...);
57  virtual ~ExceptionFactory(void) throw() {}
58 };
59 
60 } /* namespace sot */
61 } /* namespace dynamicgraph */
62 
63 #endif /* #ifndef __SOT_EXCEPTION_FACTORY_H */
64 
65 /*
66  * Local variables:
67  * c-basic-offset: 2
68  * End:
69  */
virtual const std::string & getExceptionName(void) const
#define SOT_CORE_EXPORT
Definition: api.hh:20
static const std::string EXCEPTION_NAME
static const std::string EXCEPTION_NAME


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Wed Jun 21 2023 02:51:26