diff options
Diffstat (limited to 'libdbpp/error.h')
-rw-r--r-- | libdbpp/error.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libdbpp/error.h b/libdbpp/error.h index 6e8ab18..bcb641d 100644 --- a/libdbpp/error.h +++ b/libdbpp/error.h @@ -35,6 +35,15 @@ namespace DB { const char * from; const char * to; }; + + class DLL_PUBLIC UnexpectedNullValue : public AdHoc::Exception<Error> { + public: + UnexpectedNullValue(const char * const from); + + private: + std::string message() const throw() override; + const char * to; + }; } #endif |