diff --git a/CHANGELOG.txt b/CHANGELOG.txt index b00c9c2..e7db242 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -81,6 +81,6 @@ Version 1.3.1 - February 10 2016 Remove biicode support (defunct service, servers will shutdown the 16th of February 2016) Version 1.3.x ? - Update SQLite3 from 3.10.2 ot latest 3.13 (2016-05-18) + Update SQLite3 from 3.10.2 to latest 3.13 (2016-05-18) Better exception messages when statements fail #84 Variadic templates for bind() (C++14) #85 diff --git a/Doxyfile b/Doxyfile index 277cc18..ee0a184 100644 --- a/Doxyfile +++ b/Doxyfile @@ -2049,7 +2049,7 @@ HIDE_UNDOC_RELATIONS = YES # set to NO # The default value is: NO. -HAVE_DOT = YES +HAVE_DOT = NO # The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed # to run in parallel. When set to 0 doxygen will base this on the number of diff --git a/include/SQLiteCpp/Exception.h b/include/SQLiteCpp/Exception.h index fe05899..4dac7b8 100644 --- a/include/SQLiteCpp/Exception.h +++ b/include/SQLiteCpp/Exception.h @@ -61,6 +61,7 @@ public: * @brief Encapsulation of the error message from SQLite3, based on std::runtime_error. * * @param[in] aErrorMessage The string message describing the SQLite error + * @param[in] ret Return value from function call that failed. */ explicit Exception(const std::string& aErrorMessage, int ret) : std::runtime_error(aErrorMessage), @@ -84,8 +85,8 @@ public: /** * @brief Encapsulation of the error message from SQLite3, based on std::runtime_error. * - * @param[in] apSQLite The SQLite object, to obtain detailed error messages from. - * @param[in] ret Return value from function call that failed. + * @param[in] apSQLite The SQLite object, to obtain detailed error messages from. + * @param[in] ret Return value from function call that failed. */ explicit Exception(sqlite3* apSQLite, int ret) : std::runtime_error(sqlite3_errmsg(apSQLite)), @@ -108,27 +109,27 @@ public: { } - /// @brief Return the result code (if any, otherwise -1). + /// Return the result code (if any, otherwise -1). inline int getErrorCode() const noexcept // nothrow { return mErrcode; } - /// @brief Return the extended numeric result code (if any, otherwise -1). + /// Return the extended numeric result code (if any, otherwise -1). inline int getExtendedErrorCode() const noexcept // nothrow { return mExtendedErrcode; } - /// @brief Return a string, solely based on the error code + /// Return a string, solely based on the error code inline const char *getErrStr() const noexcept // nothrow { return sqlite3_errstr(mErrcode); } private: - const int mErrcode; - const int mExtendedErrcode; + const int mErrcode; ///< Error code value + const int mExtendedErrcode; ///< Detailed error code if any };