for (int index = listeners.length - 1; index >= 0; index--) {
// We don't want badly behaved listeners to throw uncaught
// exceptions and upset other listeners
try {
CoreListener coreListener = (CoreListener) listeners[index];
coreListener.coreEvent(evt);
} catch (Throwable thr) {
log.error("Event failed.", thr);
}
}
}