javax.telephony.media.provider
Interface Dispatcher.ExceptionHandler
- Enclosing class:
- Dispatcher
- public static interface Dispatcher.ExceptionHandler
Supplies a method to handle Exceptions generated while dispatching.
onDispatcherException
public void onDispatcherException(Dispatcher dispatcher,
java.lang.Exception exception,
java.util.EventListener listener,
Dispatcher.DispatchableEvent event)
- Callback from the Dispatcher if there is an exception
while dispatching event to a Listener.
Typically, this prints the Exception.
and may invoke dispatcher.stop().
- Parameters:
dispatcher
- the Dispatcher instanceexception
- the Exception thrown while processing the Eventlistener
- the EventListener when the Exception occuredevent
- the DispatchableEvent when the Exception occured
Send comments to: JSR-43@ectf.org