} catch (SyncException e) {
dbConnection.rollback();
throw e;
} catch (Exception e) {
dbConnection.rollback();
throw new PersistException("Could not retrieve key from database",
e);
} finally {
cleanupSQL(dbConnection, stmt, update);
}
} catch (SQLException e) {
cleanupSQL(dbConnection);
throw new PersistException("Could not clean up", e);
}
}