aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/exceptions.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-11-17 09:08:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-25 06:44:31 +0200
commit2db43d4c2f2bed0348d781367090e633ad02779f (patch)
treec966a8dfb7855866e7bc89e6d4ef9c5c5fb3560c /odb/pgsql/exceptions.hxx
parent6323bca38688f0f5be72481fb146313d2fc5fe78 (diff)
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/pgsql/exceptions.hxx')
-rw-r--r--odb/pgsql/exceptions.hxx6
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_;
};