/home/martin/workspace/OpenStreetNav/src/psql/PgSqlException.h
Go to the documentation of this file.
00001 #ifndef PGSQLEXCEPTION_H_
00002 #define PGSQLEXCEPTION_H_
00003 
00004 #include <exception>
00005 #include <string>
00006 
00007 namespace psql
00008 {
00009 
00014 class PgSqlException : public std::exception
00015 {
00016 public:
00017     PgSqlException(std::string const& msg);
00018     virtual ~PgSqlException() throw();
00019     virtual const char* what() const throw();
00020 private:
00021     std::string msg;
00022 };
00023 
00024 }
00025 
00026 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines