(Event+Time).Variant Operators  2.3
Operators for Timed Discrete Event Systems in Dioids
etvoException.h
Go to the documentation of this file.
1 #ifndef ETVOEXCEPTION_H
2 #define ETVOEXCEPTION_H
3 #include <string>
4 #include<exception>
5 
14 namespace etvo
15 {
25 class etvoException: virtual public std::exception
26 {
27 private:
28  unsigned _num;
29  std::string _msg;
30 public:
31  explicit etvoException(unsigned num,const std::string & msg);
32  unsigned Num() const;
33  std::string Message() const;
34 
35  virtual const char* what() const throw () {
36  return _msg.c_str();
37  }
38 
39  virtual ~etvoException() throw () {}
40 
41 };
42 }
43 
44 #endif // ETVOEXCEPTION_H
Class to describe exceptions in etvo.
Definition: etvoException.h:25
Definition: etvoException.cpp:5