Use new Exception constructors everywhere appropriate.

Fix compiling with C++11.
Added public assessor methods to Exception class.
Added more Exception constructors as needed.
This commit is contained in:
Douglas Heriot
2016-05-26 12:34:14 +10:00
parent 832e89440f
commit 2cd31179f4
5 changed files with 95 additions and 62 deletions

View File

@@ -195,7 +195,7 @@ bool Statement::executeStep()
{
mbOk = false;
mbDone = false;
throw SQLite::Exception(sqlite3_errstr(ret));
throw SQLite::Exception(mStmtPtr, ret);
}
}
else