aboutsummaryrefslogtreecommitdiff
path: root/odb/exceptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/exceptions.cxx')
-rw-r--r--odb/exceptions.cxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/odb/exceptions.cxx b/odb/exceptions.cxx
index 60692cf..970b3b0 100644
--- a/odb/exceptions.cxx
+++ b/odb/exceptions.cxx
@@ -71,16 +71,22 @@ namespace odb
return "object not persistent";
}
- const char* result_not_cached::
+ const char* object_already_persistent::
what () const throw ()
{
- return "query result is not cached";
+ return "object already persistent";
}
- const char* object_already_persistent::
+ const char* object_changed::
what () const throw ()
{
- return "object already persistent";
+ return "object changed concurrently";
+ }
+
+ const char* result_not_cached::
+ what () const throw ()
+ {
+ return "query result is not cached";
}
unknown_schema::