• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

/Users/jmonk/Physics/ForIA/ForIA/SettingsException.hh

Go to the documentation of this file.
00001 #ifndef FORIA_SETTINGS_EXCEPTION_HH
00002 #define FORIA_SETTINGS_EXCEPTION_HH
00003 
00004 #include <stdexcept>
00005 #include <string>
00006 
00007 namespace ForIA{
00008  
00009   using std::string;
00010   
00015   class SettingsException: public std::runtime_error{
00016     
00017   public:
00018     
00019     SettingsException(const string &msg):
00020     std::runtime_error(msg + " made incorrect changes to settings"){};
00021     
00022     SettingsException(const string &func, const string &msg):
00023     std::runtime_error(func + " " + msg){};
00024     
00025   };
00026 }
00027 
00028 #endif

Generated on Mon Jul 30 2012 16:56:35 for ForIA by  doxygen 1.7.2