public class ExitExceptionHandler
extends java.lang.Object
implements java.lang.Thread.UncaughtExceptionHandler
Modifier and Type | Method and Description |
---|---|
static void |
setAsDefaultUncaughtExceptionHandler()
Call this method to make sure that the program terminates if any thread
throws an exception.
|
void |
uncaughtException(java.lang.Thread t,
java.lang.Throwable e) |
public static void setAsDefaultUncaughtExceptionHandler()
public void uncaughtException(java.lang.Thread t, java.lang.Throwable e)
uncaughtException
in interface java.lang.Thread.UncaughtExceptionHandler