#538 prevent destructors from throwing exceptions

This commit is contained in:
Guenter Obiltschnig
2014-09-19 10:13:03 +02:00
parent 5a14f72508
commit 85fd968a1e
11 changed files with 100 additions and 24 deletions

View File

@@ -52,7 +52,14 @@ SQLiteStatementImpl::SQLiteStatementImpl(Poco::Data::SessionImpl& rSession, sqli
SQLiteStatementImpl::~SQLiteStatementImpl()
{
clear();
try
{
clear();
}
catch (...)
{
poco_unexpected();
}
}