org.assertj.swing.core
Class SimpleFallbackExceptionHandler
java.lang.Object
org.assertj.swing.core.SimpleFallbackExceptionHandler
public class SimpleFallbackExceptionHandler
- extends Object
Exception handler for the AWT event thread, to make sure we can get a back-trace dump when running FEST-Swing are
terminated by a EmergencyAbortListener
.
This exception handler is passed to the JVM using the system property "sun.awt.exception.handler" to override the
default exception handling behavior of the event dispatch thread (EDT.)
This is a Sun-specific feature (or "bug".) See bug 4714232.
- Author:
- Simeon H.K. Fitch
Method Summary |
void |
handle(Throwable t)
Prints the stack trace of the given exception to the standard error stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFallbackExceptionHandler
public SimpleFallbackExceptionHandler()
handle
public void handle(@Nonnull
Throwable t)
- Prints the stack trace of the given exception to the standard error stream.
- Parameters:
t
- the given exception.
Copyright © 2014–2015 AssertJ. All rights reserved.