org.fuin.apps4swing
Class LoggingUncaughtExceptionHandler

java.lang.Object
  extended by org.fuin.apps4swing.LoggingUncaughtExceptionHandler
All Implemented Interfaces:
Thread.UncaughtExceptionHandler

public final class LoggingUncaughtExceptionHandler
extends Object
implements Thread.UncaughtExceptionHandler

Logs uncaught exceptions .

To install the handler: Thread.setDefaultUncaughtExceptionHandler(new LoggingUncaughtExceptionHandler());


Constructor Summary
LoggingUncaughtExceptionHandler()
           
 
Method Summary
 void uncaughtException(Thread thread, Throwable ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingUncaughtExceptionHandler

public LoggingUncaughtExceptionHandler()
Method Detail

uncaughtException

public final void uncaughtException(Thread thread,
                                    Throwable ex)
Specified by:
uncaughtException in interface Thread.UncaughtExceptionHandler


Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.