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 b200843..d56711c 100644
--- a/odb/exceptions.cxx
+++ b/odb/exceptions.cxx
@@ -94,6 +94,18 @@ namespace odb
return "query result is not cached";
}
+ const char* abstract_class::
+ what () const throw ()
+ {
+ return "database operation on instance of abstract class";
+ }
+
+ const char* no_type_info::
+ what () const throw ()
+ {
+ return "no type information";
+ }
+
unknown_schema::
unknown_schema (const std::string& name)
: name_ (name)