org.eclipse.net4j.util.event
Class ThrowableEventAdapter.ToPrintStream

java.lang.Object
  extended by org.eclipse.net4j.util.event.ThrowableEventAdapter
      extended by org.eclipse.net4j.util.event.ThrowableEventAdapter.ToPrintStream
All Implemented Interfaces:
EventListener, IListener
Enclosing class:
ThrowableEventAdapter

public static class ThrowableEventAdapter.ToPrintStream
extends ThrowableEventAdapter

Prints the stack traces of throwable events to a PrintStream.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.net4j.util.event.ThrowableEventAdapter
ThrowableEventAdapter.ToPrintStream
 
Field Summary
static ThrowableEventAdapter.ToPrintStream CONSOLE
           
 
Constructor Summary
ThrowableEventAdapter.ToPrintStream(PrintStream out)
           
 
Method Summary
 PrintStream getOut()
           
protected  void onThrowable(INotifier source, Throwable t)
           
 
Methods inherited from class org.eclipse.net4j.util.event.ThrowableEventAdapter
notifyEvent, notifyLifecycleEvent, notifyOtherEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSOLE

public static final ThrowableEventAdapter.ToPrintStream CONSOLE
Constructor Detail

ThrowableEventAdapter.ToPrintStream

public ThrowableEventAdapter.ToPrintStream(PrintStream out)
Method Detail

getOut

public final PrintStream getOut()

onThrowable

protected void onThrowable(INotifier source,
                           Throwable t)
Overrides:
onThrowable in class ThrowableEventAdapter


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.