Class SimpleFallbackExceptionHandler

java.lang.Object
org.fest.swing.core.SimpleFallbackExceptionHandler

public class SimpleFallbackExceptionHandler extends Object
Understands an exception handler for 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.

This is a Sun-specific feature (or "bug".) See bug 4714232.

  • Constructor Details

    • SimpleFallbackExceptionHandler

      public SimpleFallbackExceptionHandler()
  • Method Details

    • handle

      public void handle(Throwable t)
      Prints the stack trace of the given exception to the standard error stream.
      Parameters:
      t - the given exception.