00001
00002 #ifndef FFERRORS_HH
00003 #define FFERRORS_HH
00004
00005 #include <stdexcept>
00006
00007
00011 class BadFile : public std::runtime_error {
00012 public:
00016 BadFile( const std::string& msg );
00017 };
00018
00022 class NoData : public std::runtime_error {
00023 public:
00027 NoData( const std::string& msg );
00028 };
00029
00030
00031 inline
00032 BadFile::BadFile( const std::string& msg )
00033 : std::runtime_error( msg )
00034 {}
00035
00036 inline
00037 NoData::NoData( const std::string& msg )
00038 : std::runtime_error( msg )
00039 {}
00040
00041 #endif