aboutsummaryrefslogtreecommitdiff
path: root/odb/exceptions.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-04-23 16:48:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-04-23 16:48:00 +0200
commit1896d36996ab48ed7271e855d7e32b4e61f64896 (patch)
tree6d085eb0349d23bc26fe101b2451235939f17d40 /odb/exceptions.cxx
parentc2be6303f97e470960ee77805128c46d3ea5c102 (diff)
Polymorphic inheritance support
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)