From 91830e3bd38a05c73d03a5dfb88997799d44274b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 6 May 2013 12:05:39 +0200 Subject: Add support for object sections Sections are an optimization mechanism that allows the partitioning of data members of a persistent class into groups that can be separately loaded and/or updated. --- 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 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?)"; + } } -- cgit v1.1