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 b55b2a4..9e37967 100644 --- a/odb/exceptions.hxx +++ b/odb/exceptions.hxx @@ -113,6 +113,20 @@ namespace odb { }; + // Polymorphism support exceptions. + // + struct LIBODB_EXPORT abstract_class: exception + { + virtual const char* + what () const throw (); + }; + + struct LIBODB_EXPORT no_type_info: exception + { + virtual const char* + what () const throw (); + }; + // Schema catalog exceptions. // struct LIBODB_EXPORT unknown_schema: exception @@ -156,6 +170,9 @@ namespace odb using odb::result_not_cached; using odb::database_exception; + using odb::abstract_class; + using odb::no_type_info; + using odb::unknown_schema; } } |