throw new Error("registerStatement called with no transaction");
throw new IllegalStateException("registerStatement called with no transaction");
    public void registerStatement(FBStatement fbStatement) {        if (currentTr == null) {            throw new Error("registerStatement called with no transaction");        }        currentTr.registerStatementWithTransaction(fbStatement);    }