00001 #ifndef SCTCONF_CONFIGURATIONEXCEPTION_H 00002 #define SCTCONF_CONFIGURATIONEXCEPTION_H 00003 00004 namespace SctConfiguration { 00005 00009 class ConfigurationException : public std::exception { 00010 std::string desc; 00011 public: 00013 ConfigurationException(const std::string &str) throw() : desc(str) {} 00014 00015 ~ConfigurationException() throw() {} 00016 00018 virtual const char* what () const throw() { return desc.c_str(); } 00019 }; 00020 00021 } 00022 00023 #endif