return new AcceptanceTestResult(test, e);
try { con.rollback(); } catch (SQLException e2) { throw new RuntimeException("couldn't rollback() transaction", e); } long endTime = (new Date()).getTime(); long totalTime = endTime - startTime; return new AcceptanceTestResult(test, e, totalTime);
    private AcceptanceTestResult runTest(Connection con, AcceptanceTest test) {        Statement sm = null;        ResultSet rs = null;        try {            sm = con.createStatement();            sm.setFetchSize(1000);            rs = sm.executeQuery(test.getSql());            AcceptanceTestResult atr = new AcceptanceTestResult(test, rs, con);            return atr;        } catch (SQLException e) {            return new AcceptanceTestResult(test, e);        } finally {            try {                if (rs != null) {                    rs.close();                }                if (sm != null) {                    sm.close();                }            } catch (SQLException e) {                throw new RuntimeException("exception while closing Statement or ResultSet", e);            }        }    }