.getResultHandlers();
int handlerCount = resultHandlers.size();
for (int i = 0; i < handlerCount; i++)
{
RewriteResultHandler handler = resultHandlers.get(i);
if (handler.handles(operation.getEvent()))
handler.handleResult(operation.getEvent());
}
}
catch (Exception e) {
throw new RewriteException("Failed to handle PhaseOperation [" + operation + "]", e);
}