public final class UncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
Constructor and Description |
---|
UncaughtExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
setParentComponent(Component parentComponent)
Sets the parent component where an error dialog might be displayed.
|
void |
uncaughtException(Thread t,
Throwable e)
Called when an uncaught exception is thrown.
|
public void uncaughtException(Thread t, Throwable e)
uncaughtException
in interface Thread.UncaughtExceptionHandler
t
- the thread where the exception was throws.e
- the thrown exception.public void setParentComponent(Component parentComponent)
parentComponent
- a component where an error dialog might be displayed.Copyright © 2015. All rights reserved.