{
iterativeStageComplete();
}
catch (PipeIOException e)
{
throw new ActivityProcessingException(e);
}
catch (PipeTerminatedException e)
{
throw new ActivityTerminatedException();
}
}
if ((block = inputs[0].read()) != ControlBlock.NO_MORE_DATA)
{
Object data = block;
List elements = new ArrayList();
elements.add(data);
Tuple tuple = new SimpleTuple(elements);
try{
mOutput.write(tuple);
} catch (PipeClosedException e)
{
iterativeStageComplete();
}
catch (PipeIOException e)
{
throw new ActivityProcessingException(e);
}
catch (PipeTerminatedException e)
{
throw new ActivityTerminatedException();
}