mirror of
https://github.com/allankoechke/SQLiteCpp.git
synced 2026-12-03 09:10:01 +00:00
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:
@@ -31,8 +31,7 @@ Backup::Backup(Database& aDestDatabase,
|
||||
apSrcDatabaseName);
|
||||
if (NULL == mpSQLiteBackup)
|
||||
{
|
||||
std::string strerr = sqlite3_errmsg(aDestDatabase.getHandle());
|
||||
throw SQLite::Exception(strerr);
|
||||
throw SQLite::Exception(aDestDatabase.getHandle());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user