diff options
Diffstat (limited to 'libdbpp/error.h')
-rw-r--r-- | libdbpp/error.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbpp/error.h b/libdbpp/error.h index 05f0a39..c36d864 100644 --- a/libdbpp/error.h +++ b/libdbpp/error.h @@ -36,8 +36,10 @@ namespace DB { const std::string to; }; + /// Exception thrown when a null value occurs when reading into a non-optional value. class DLL_PUBLIC UnexpectedNullValue : public AdHoc::Exception<Error> { public: + /// Create a new UnexpectedNullValue given the source type name. UnexpectedNullValue(const char * const from); private: |