public final class AWTExceptionHandlerInstaller extends Object
An 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.
Modifier and Type | Method and Description |
---|---|
static void |
installAWTExceptionHandler(Class<?> exceptionHandlerType)
Installs the given exception handler type.
|
public static void installAWTExceptionHandler(Class<?> exceptionHandlerType)
exceptionHandlerType
- the type of exception handler to be installed in the current JVM.IllegalArgumentException
- if the given type does not have a default constructor.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.