newstep.instantiate(substep); } else if (XProcConstants.p_catch.equals(substep.getType())) { XCatch newstep = new XCatch(runtime, substep, this); newstep.instantiate(substep); } else { throw new XProcException(step.getNode(), "This can't happen, can it? try contains something that isn't a group or a catch?");
xcatch.writeError(treeWriter.getResult()); xcatch.run(); } finally { runtime.getMessageListener().closeStep();
newstep.instantiate(substep); } else if (XProcConstants.p_catch.equals(substep.getType())) { XCatch newstep = new XCatch(runtime, substep, this); newstep.instantiate(substep); } else { throw new XProcException(step.getNode(), "This can't happen, can it? try contains something that isn't a group or a catch?");
xcatch.writeError(treeWriter.getResult()); xcatch.run();
newstep.instantiate(substep); } else if (XProcConstants.p_catch.equals(substep.getType())) { XCatch newstep = new XCatch(runtime, substep, this); newstep.instantiate(substep); } else if (XProcConstants.p_for_each.equals(substep.getType())) { XForEach newstep = new XForEach(runtime, substep, this);
newstep.instantiate(substep); } else if (XProcConstants.p_catch.equals(substep.getType())) { XCatch newstep = new XCatch(runtime, substep, this); newstep.instantiate(substep); } else if (XProcConstants.p_for_each.equals(substep.getType())) { XForEach newstep = new XForEach(runtime, substep, this);