Package org.eclipse.net4j.util.event
Class ThrowableEventAdapter
- java.lang.Object
-
- org.eclipse.net4j.util.event.ThrowableEventAdapter
-
- All Implemented Interfaces:
java.util.EventListener,IListener
- Direct Known Subclasses:
ThrowableEventAdapter.ToPrintStream
public class ThrowableEventAdapter extends java.lang.Object implements IListener
- Since:
- 3.3
- Author:
- Eike Stepper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThrowableEventAdapter.ToPrintStreamPrints the stack traces of throwableeventsto aPrintStream.-
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.IListener
IListener.NotifierAware
-
-
Constructor Summary
Constructors Constructor Description ThrowableEventAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnotifyEvent(IEvent event)protected voidnotifyLifecycleEvent(ThrowableEvent event)protected voidnotifyOtherEvent(IEvent event)protected voidonThrowable(INotifier source, java.lang.Throwable t)
-
-
-
Method Detail
-
notifyEvent
public final void notifyEvent(IEvent event)
- Specified by:
notifyEventin interfaceIListener
-
notifyLifecycleEvent
protected void notifyLifecycleEvent(ThrowableEvent event)
-
notifyOtherEvent
protected void notifyOtherEvent(IEvent event)
-
onThrowable
protected void onThrowable(INotifier source, java.lang.Throwable t)
-
-