if (sfContainsChild(comp)) { forward = onChildTerminated(status, comp); } else { forward = onNonChildTerminated(status, comp);
try { if (sfContainsChild(comp)) { forward = onChildTerminated(status, comp); } else { forward = onNonChildTerminated(status, comp); } } catch (Exception e) { sfLog().error("Exception ",e); forward=true;
    public void sfTerminatedWith(TerminationRecord status, Prim comp) {        boolean forward;        if (isWorkflowTerminating()) {            //during termination, always forward            forward = onWorkflowTerminating(status, comp);        } else {            //check to see what the subclass wants            if (sfContainsChild(comp)) {                forward = onChildTerminated(status, comp);            } else {                forward = onNonChildTerminated(status, comp);            }        }        if (forward) {            super.sfTerminatedWith(status, comp);        }    }