// See if the event should be passed to this listner.
if ( ( listenerMask & eventMask ) != 0 )
{
// The listener wants the event.
WrapperEventListener listener = listenerMasks[i].m_listener;
try
{
listener.fired( event );
}
catch ( Throwable t )
{
m_outError.println( getRes().getString( "Encountered an uncaught exception while notifying WrapperEventListener of an event:" ) );
t.printStackTrace( m_outError );