aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/exceptions.hxx
diff options
context:
space:
mode:
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_;
};