mirror of
https://github.com/allankoechke/SQLiteCpp.git
synced 2026-11-30 17:07:36 +00:00
Remove unused Exception constructor
This commit is contained in:
@@ -44,13 +44,6 @@ Exception::Exception(sqlite3* apSQLite, int ret) :
|
||||
{
|
||||
}
|
||||
|
||||
Exception::Exception(sqlite3* apSQLite, int ret, const std::string &aErrorMessage) :
|
||||
std::runtime_error(aErrorMessage + ": " + sqlite3_errmsg(apSQLite)),
|
||||
mErrcode(ret),
|
||||
mExtendedErrcode(sqlite3_extended_errcode(apSQLite))
|
||||
{
|
||||
}
|
||||
|
||||
// Return the result code (if any, otherwise -1).
|
||||
inline int Exception::getErrorCode() const noexcept // nothrow
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user