aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/exceptions.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-11-17 13:34:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-25 06:43:50 +0200
commit6ba692aabf2afae6dab83139ca5e219bfc614890 (patch)
tree75eec5e22602a5ddae9bc82c5d8253f922853c0c /odb/sqlite/exceptions.hxx
parent3bb29e43f60229bcac00777c839174703f848c16 (diff)
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/sqlite/exceptions.hxx')
-rw-r--r--odb/sqlite/exceptions.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/odb/sqlite/exceptions.hxx b/odb/sqlite/exceptions.hxx
index 8a21d5e..6bae164 100644
--- a/odb/sqlite/exceptions.hxx
+++ b/odb/sqlite/exceptions.hxx
@@ -29,6 +29,9 @@ namespace odb
{
virtual const char*
what () const throw ();
+
+ virtual forced_rollback*
+ clone () const;
};
struct LIBODB_SQLITE_EXPORT database_exception: odb::database_exception
@@ -60,6 +63,9 @@ namespace odb
virtual const char*
what () const throw ();
+ virtual database_exception*
+ clone () const;
+
private:
int error_;
int extended_error_;
@@ -75,6 +81,9 @@ namespace odb
virtual const char*
what () const throw ();
+ virtual cli_exception*
+ clone () const;
+
private:
std::string what_;
};