errorContextBuilder.workCompleted( queue.get( i ) );
}
catch (ExecutionException e) {
someFailureHappened = true;
failedUpdates.add( queue.get( i ) );
errorContextBuilder.errorThatOccurred( e.getCause() );
}
}
if ( someFailureHappened ) {
errorContextBuilder.addAllWorkThatFailed( failedUpdates );
resources.getErrorHandler().handle( errorContextBuilder.createErrorContext() );