00001 #ifndef NoSuchConfigException_HPP 00002 #define NoSuchConfigException_HPP 00003 00004 #include <string> 00005 00006 using std::string; 00007 00008 class NoSuchConfigException{ 00009 00010 private: 00011 00012 string what_; 00013 00014 public: 00015 00016 NoSuchConfigException(string what):what_(what){} 00017 00018 const string & what() const{return what_; } 00019 00020 }; 00021 00022 #endif//NoSuchConfigException_HPP