if (processor != null) {
return processor.process(resultSet);
}
throw new IllegalStateException();
} catch (SQLException e) {
throw new IsoSQLException(e);
} finally {
try {
resultSet.close();
} catch (SQLException e) {
}
}
} catch (SQLException e) {
throw new IsoSQLException(e);
} finally {
try {
statement.close();
} catch (SQLException e) {
}
}
} catch (SQLException e) {
throw new IsoSQLException(e);
} finally {
try {
connection.close();
} catch (SQLException e) {
}