{
result = elem.hls().complete(getCompletionStatus());
}
catch (SystemException ex)
{
result = new OutcomeImple(new HLSException(ex),
getCompletionStatus());
}
current = HLSManager.getOutcomeManager().processOutcome(current, result);
elem = (HLSWrapper) iter.iterate();
}
}
catch (SystemException ex)
{
/*
* Currently if an exception occurs and we get here, then we
* forget all of the other outcomes and just return the
* exception. Does this make sense? How will applications be
* able to tell which HLSes have processed the outcome and
* which have not?
*/
current = new OutcomeImple(new HLSException(ex),
Failure.instance());
}
if (_parent != null)
{