00001 #ifndef UMPEXCEPTION_H_ 00002 #define UMPEXCEPTION_H_ 00003 00004 namespace map 00005 { 00006 namespace ump 00007 { 00008 class UMPException 00009 { 00010 private: 00011 std::string _msg; 00012 public: 00013 UMPException (const std::string& msg) : 00014 _msg(msg) 00015 { 00016 } 00017 00018 const std::string& getMessage () const 00019 { 00020 return _msg; 00021 } 00022 }; 00023 } 00024 } 00025 00026 #endif /* UMPEXCEPTION_H_ */