isExceptionLoggingEnabled()
Return true if this listener list is currently logging exceptions
that are caught when delivering events to listeners in the list.
boolean
isExceptionReThrown()
Return the setting indicating whether the event delivery loops
re-throw any caught exceptions.
Handle an exception caught while delivering an event to a listener in the list.
If exception logging is enabled, print the exception and traceback to System.err.
If exception rethrow is enabled, rethtrow the exception.
Specify whether this listener list should rethrow exceptions caught
when delivering an event to a listener. If true, then the event
is not delivered to any other listeners in this listener class.
It is expected that the class that owns this listener list
will handle the exception in some way.
Parameters:
reThrow - if true, an exception caught
when delivering an event to a listener is rethrown and the event
is not delivered to any remaining listeners. Use extreme caution
when setting this to true. If false,
exceptions are ignored (although they may be logged).
Return a safe copy of the list of listeners for this event.
The client may iterate over this list and send events
to the clients in a thread safe manner; calls to
addPropertyBagChangedListener or removePropertyBagChangedListener may take
place but do not affect this copied listener list.
Returns:
a safe arry copy of the listener list. The array contains no null items.