// file : odb/pgsql/exceptions.hxx // author : Constantin Michael // copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_PGSQL_EXCEPTIONS_HXX #define ODB_PGSQL_EXCEPTIONS_HXX #include #include #include #include #include namespace odb { namespace pgsql { struct LIBODB_PGSQL_EXPORT cli_exception: odb::exception { cli_exception (const std::string& what); ~cli_exception () throw (); virtual const char* what () const throw (); private: std::string what_; }; } } #include #endif // ODB_PGSQL_EXCEPTIONS_HXX