aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/exceptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/exceptions.cxx')
-rw-r--r--odb/sqlite/exceptions.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/odb/sqlite/exceptions.cxx b/odb/sqlite/exceptions.cxx
index 08cdf90..ece5def 100644
--- a/odb/sqlite/exceptions.cxx
+++ b/odb/sqlite/exceptions.cxx
@@ -22,6 +22,12 @@ namespace odb
return "transaction is forced to rollback";
}
+ forced_rollback* forced_rollback::
+ clone () const
+ {
+ return new forced_rollback (*this);
+ }
+
//
// database_exception
//
@@ -51,6 +57,12 @@ namespace odb
return what_.c_str ();
}
+ database_exception* database_exception::
+ clone () const
+ {
+ return new database_exception (*this);
+ }
+
//
// cli_exception
//
@@ -71,5 +83,11 @@ namespace odb
{
return what_.c_str ();
}
+
+ cli_exception* cli_exception::
+ clone () const
+ {
+ return new cli_exception (*this);
+ }
}
}