org.fuin.apps4swing
Class AwtLoggingUncaughtExceptionHandler

java.lang.Object
  extended by org.fuin.apps4swing.AwtLoggingUncaughtExceptionHandler

public final class AwtLoggingUncaughtExceptionHandler
extends Object

Logs an uncaught AWT exception.

The class must be registered:

a) Programatically
System.setProperty("sun.awt.exception.handler", "org.fuin.apps4swing.AwtLoggingUncaughtExceptionHandler");

b) Using the command line
-Dsun.awt.exception.handler="org.fuin.apps4swing.AwtLoggingUncaughtExceptionHandler"


Constructor Summary
AwtLoggingUncaughtExceptionHandler()
           
 
Method Summary
 void handle(Throwable t)
          Handles the throwable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AwtLoggingUncaughtExceptionHandler

public AwtLoggingUncaughtExceptionHandler()
Method Detail

handle

public final void handle(Throwable t)
Handles the throwable.

Parameters:
t - Throwable to handle.


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