diff options
Diffstat (limited to 'odb/exceptions.hxx')
-rw-r--r-- | odb/exceptions.hxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/odb/exceptions.hxx b/odb/exceptions.hxx index 2cefea7..14f4f86 100644 --- a/odb/exceptions.hxx +++ b/odb/exceptions.hxx @@ -208,6 +208,20 @@ namespace odb std::string what_; }; + // Section exceptions. + // + struct LIBODB_EXPORT section_not_loaded: odb::exception + { + virtual const char* + what () const throw (); + }; + + struct LIBODB_EXPORT section_not_in_object: odb::exception + { + virtual const char* + what () const throw (); + }; + namespace common { using odb::null_pointer; @@ -235,6 +249,9 @@ namespace odb using odb::unknown_schema; using odb::unknown_schema_version; + + using odb::section_not_loaded; + using odb::section_not_in_object; } } |