00001 #ifndef FILENOTFOUND_H 00002 #define FILENOTFOUND_H 00003 00004 #include <stdexcept> 00005 00006 using namespace std; 00007 00008 /*=========================================================================*/ 00009 00017 class FileNotFound : public runtime_error { 00018 public: 00019 FileNotFound() : runtime_error( "file not found" ) {} 00020 FileNotFound( const string &what ) : runtime_error( what ) {} 00021 }; 00022 00023 #endif 00024