Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef WRONGDBEXCEPTION_H_
00009 #define WRONGDBEXCEPTION_H_
00010
00011 #include <exception>
00012 #include <string>
00013
00014 namespace osmdb
00015 {
00016
00017 class WrongDBException : public std::exception
00018 {
00019 public:
00020 WrongDBException(std::string const& filename);
00021 virtual ~WrongDBException() throw ();
00022 virtual const char* what() const throw();
00023 private:
00024 std::string filename;
00025 };
00026
00027 }
00028 #endif