OpenWAM
Exception.hpp
Go to the documentation of this file.
1 #ifndef Exception_hpp
2 #define Exception_hpp
3 
29 #include <string>
30 #include <exception>
31 
32 using namespace std;
33 
39 class Exception: public exception {
40  private:
41  string msg;
42  public:
43  Exception();
44  Exception(const string& __arg);
45  virtual ~Exception();
46  virtual const char* what();
47 };
48 #endif
Exception
Custom exception class.
Definition: Exception.hpp:39