java.lang
Interface Thread.UncaughtExceptionHandler
- All Known Implementing Classes:
- ThreadGroup
- Enclosing interface:
- Thread
- public static interface Thread.UncaughtExceptionHandler
Interface for handlers invoked when a Thread abruptly terminates
due to an uncaught exception.
- Since:
- 1.5
- See Also:
Thread.setDefaultUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler),
Thread.setUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler)
|
Method Summary |
void |
uncaughtException(Thread t,
java.lang.Throwable e)
Method invoked when the given thread terminates due to the
given uncaught exception. |
uncaughtException
public void uncaughtException(Thread t,
java.lang.Throwable e)
- Method invoked when the given thread terminates due to the
given uncaught exception.
- Parameters:
t - the threade - the exception