aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/exceptions.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-11-17 13:34:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-17 13:34:17 +0200
commitefebd5ea2e6b0cf4e272614075c8346c0ef16cba (patch)
treedf0ef61b9b84cbcd2c05bc06c6b4269e2624d51e /odb/sqlite/exceptions.cxx
parent5d693f6a783b8b206b9543328eb34f942db10ecf (diff)
Update SQLite
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);
+ }
}
}