00001 #ifndef _INC_EXCEPTION_H 00002 #define _INC_EXCEPTION_H 00003 00004 #include <string> 00005 00006 class Exception 00007 { 00008 public: 00009 std::string msg; 00010 Exception(std::string m) : msg(m) {} 00011 Exception(const char *m) : msg(m) {} 00012 ~Exception() {} 00013 }; 00014 00015 #endif
1.4.1