Package jmri.util.exceptionhandler
Class UncaughtExceptionHandler
- java.lang.Object
-
- jmri.util.exceptionhandler.UncaughtExceptionHandler
-
- All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler
public class UncaughtExceptionHandler extends java.lang.Object implements java.lang.Thread.UncaughtExceptionHandler
Class to log exceptions that rise to the top of threads, including to the top of the AWT event processing loop. Using code must install this withThread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler());
-
-
Constructor Summary
Constructors Constructor Description UncaughtExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
systemExit()
void
uncaughtException(java.lang.Thread t, java.lang.Throwable e)
-
-
-
Constructor Detail
-
UncaughtExceptionHandler
public UncaughtExceptionHandler()
-
-
Method Detail
-
uncaughtException
public void uncaughtException(java.lang.Thread t, java.lang.Throwable e)
- Specified by:
uncaughtException
in interfacejava.lang.Thread.UncaughtExceptionHandler
-
systemExit
protected void systemExit()
-
-