// file : odb/pgsql/exceptions.cxx // author : Constantin Michael // copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #include using namespace std; namespace odb { namespace pgsql { // // cli_exception // cli_exception:: cli_exception (const std::string& what) : what_ (what) { } cli_exception:: ~cli_exception () throw () { } const char* cli_exception:: what () const throw () { return what_.c_str (); } } }