Package org.eclipse.net4j.util.event
Class ThrowableEventAdapter.ToPrintStream
- java.lang.Object
-
- org.eclipse.net4j.util.event.ThrowableEventAdapter
-
- org.eclipse.net4j.util.event.ThrowableEventAdapter.ToPrintStream
-
- All Implemented Interfaces:
java.util.EventListener
,IListener
- Enclosing class:
- ThrowableEventAdapter
public static class ThrowableEventAdapter.ToPrintStream extends ThrowableEventAdapter
Prints the stack traces of throwableevents
to aPrintStream
.- Author:
- Eike Stepper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.net4j.util.event.ThrowableEventAdapter
ThrowableEventAdapter.ToPrintStream
-
-
Field Summary
Fields Modifier and Type Field Description static ThrowableEventAdapter.ToPrintStream
CONSOLE
-
Constructor Summary
Constructors Constructor Description ToPrintStream(java.io.PrintStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.PrintStream
getOut()
protected void
onThrowable(INotifier source, java.lang.Throwable t)
-
Methods inherited from class org.eclipse.net4j.util.event.ThrowableEventAdapter
notifyEvent, notifyLifecycleEvent, notifyOtherEvent
-
-
-
-
Field Detail
-
CONSOLE
public static final ThrowableEventAdapter.ToPrintStream CONSOLE
-
-
Method Detail
-
getOut
public final java.io.PrintStream getOut()
-
onThrowable
protected void onThrowable(INotifier source, java.lang.Throwable t)
- Overrides:
onThrowable
in classThrowableEventAdapter
-
-