org.fest.swing.core
Class SimpleFallbackExceptionHandler

java.lang.Object
  extended by 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.

Author:
Simeon H.K. Fitch

Constructor Summary
SimpleFallbackExceptionHandler()
           
 
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
 

Constructor Detail

SimpleFallbackExceptionHandler

public SimpleFallbackExceptionHandler()
Method Detail

handle

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

Parameters:
t - the given exception.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.