diff options
Diffstat (limited to 'odb/pgsql/exceptions.hxx')
-rw-r--r-- | odb/pgsql/exceptions.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/pgsql/exceptions.hxx b/odb/pgsql/exceptions.hxx index d15cec0..6296b75 100644 --- a/odb/pgsql/exceptions.hxx +++ b/odb/pgsql/exceptions.hxx @@ -43,6 +43,9 @@ namespace odb virtual const char* what () const throw (); + virtual database_exception* + clone () const; + private: std::string sqlstate_; std::string message_; @@ -57,6 +60,9 @@ namespace odb virtual const char* what () const throw (); + virtual cli_exception* + clone () const; + private: std::string what_; }; |