XGroup newstep = new XGroup(runtime, substep, this); newstep.instantiate(substep); } else if (XProcConstants.p_catch.equals(substep.getType())) { XCatch newstep = new XCatch(runtime, substep, this);
xgroup.run(); } catch (Exception xe) {
@Override public void run() throws SaxonApiException { if (!(parent instanceof XTry)) { try { XProcMessageListenerHelper.openStep(runtime, this); } catch (Throwable e) { throw handleException(e); } try { super.run(); } finally { runtime.getMessageListener().closeStep(); } } else super.run(); } }
XGroup newstep = new XGroup(runtime, substep, this); newstep.instantiate(substep); } else if (XProcConstants.p_catch.equals(substep.getType())) { XCatch newstep = new XCatch(runtime, substep, this);
xgroup.run(); } catch (Exception xe) { TreeWriter treeWriter = new TreeWriter(runtime);
newstep.instantiate(substep); } else if (XProcConstants.p_group.equals(substep.getType())) { XGroup newstep = new XGroup(runtime, substep, this); newstep.instantiate(substep); } else if (XProcConstants.p_try.equals(substep.getType())) { XTry newstep = new XTry(runtime, substep, this);
newstep.instantiate(substep); } else if (XProcConstants.p_group.equals(substep.getType())) { XGroup newstep = new XGroup(runtime, substep, this); newstep.instantiate(substep); } else if (XProcConstants.p_try.equals(substep.getType())) { XTry newstep = new XTry(runtime, substep, this);