From 1896d36996ab48ed7271e855d7e32b4e61f64896 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 23 Apr 2012 16:48:00 +0200 Subject: Polymorphic inheritance support --- odb/exceptions.cxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'odb/exceptions.cxx') 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) -- cgit v1.1