throw new SQLException(resex.toString());
throw new FBSQLException(resex);
    public synchronized void rollback() throws SQLException {        if (getAutoCommit())        {            throw new SQLException("rollback called with AutoCommit true!");        } // end of if ()        if (isClosed())        {            throw new SQLException("You cannot rollback closed connection.");        }        try{            if (inTransaction())            {                getLocalTransaction().rollback();            } // end of if ()            getLocalTransaction().begin();        } catch(javax.resource.ResourceException resex) {            throw new SQLException(resex.toString());        }    }