aboutsummaryrefslogtreecommitdiff
path: root/odb/exceptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/exceptions.cxx')
-rw-r--r--odb/exceptions.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/exceptions.cxx b/odb/exceptions.cxx
index 1ee17e5..a5292bc 100644
--- a/odb/exceptions.cxx
+++ b/odb/exceptions.cxx
@@ -185,4 +185,16 @@ namespace odb
{
return what_.c_str ();
}
+
+ const char* section_not_loaded::
+ what () const throw ()
+ {
+ return "section is not loaded";
+ }
+
+ const char* section_not_in_object::
+ what () const throw ()
+ {
+ return "section instance is not part of an object (section was copied?)";
+ }
}