/home/martin/workspace/OpenStreetNav/src/osmdb/WrongDBException.h
Go to the documentation of this file.
00001 /*
00002  * WrongDBException.h
00003  *
00004  *  Created on: Nov 6, 2011
00005  *      Author: martin
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 } /* namespace osmdb */
00028 #endif /* WRONGDBEXCEPTION_H_ */
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines