Sirikata
|
00001 #ifndef _EMERSON_EXCEPTION_H_ 00002 #define _EMERSON_EXCEPTION_H_ 00003 00004 #include <string> 00005 00006 00007 using namespace std; 00008 class EmersonException 00009 { 00010 private: 00011 std::string msg_; 00012 00013 public: 00014 EmersonException(std::string _msg) 00015 { 00016 msg_ = _msg; 00017 } 00018 00019 inline std::string msg() { return msg_; } 00020 }; 00021 00022 00023 #endif