/home/martin/workspace/OpenStreetNav/src/psql/PgSqlException.cpp
Go to the documentation of this file.
00001 #include "PgSqlException.h"
00002 
00003 namespace psql
00004 {
00005 
00006 PgSqlException::PgSqlException(std::string const& msg):
00007     msg("PostgreSQL problem: " + msg)
00008 {
00009 }
00010 
00011 PgSqlException::~PgSqlException() throw()
00012 {
00013 }
00014 
00015 char const* PgSqlException::what() const throw()
00016 {
00017     return msg.c_str();
00018 }
00019 
00020 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines