aboutsummaryrefslogtreecommitdiff
path: root/odb/exceptions.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/exceptions.hxx')
-rw-r--r--odb/exceptions.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/exceptions.hxx b/odb/exceptions.hxx
index 698baee..5f48717 100644
--- a/odb/exceptions.hxx
+++ b/odb/exceptions.hxx
@@ -92,6 +92,12 @@ namespace odb
what () const throw ();
};
+ struct LIBODB_EXPORT object_changed: exception
+ {
+ virtual const char*
+ what () const throw ();
+ };
+
struct LIBODB_EXPORT result_not_cached: exception
{
virtual const char*
@@ -140,6 +146,7 @@ namespace odb
using odb::timeout;
using odb::object_not_persistent;
using odb::object_already_persistent;
+ using odb::object_changed;
using odb::result_not_cached;
using odb::database_exception;