diff options
Diffstat (limited to 'odb/exceptions.hxx')
-rw-r--r-- | odb/exceptions.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/exceptions.hxx b/odb/exceptions.hxx index 26550cb..eaf8ec8 100644 --- a/odb/exceptions.hxx +++ b/odb/exceptions.hxx @@ -14,6 +14,12 @@ namespace odb { + struct LIBODB_EXPORT null_pointer: odb::exception + { + virtual const char* + what () const throw (); + }; + // Transaction exceptions. // struct LIBODB_EXPORT already_in_transaction: odb::exception |