PhaseEvent event = new PhaseEvent(context, phaseId, this);
while (listenersIterator.hasNext()) {
PhaseListener listener = listenersIterator.next();
if (phaseId.equals(listener.getPhaseId()) ||
PhaseId.ANY_PHASE.equals(listener.getPhaseId())) {
listener.beforePhase(event);
}
}
}
} catch (Exception e) {
if (LOGGER.isLoggable(Level.WARNING)) {