Package de.bsvrz.sys.funclib.application
Class ExitOnErrorUncaughtExceptionHandler
java.lang.Object
de.bsvrz.sys.funclib.application.ExitOnErrorUncaughtExceptionHandler
- All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler
public class ExitOnErrorUncaughtExceptionHandler
extends java.lang.Object
implements java.lang.Thread.UncaughtExceptionHandler
Implementierung eines UncaughtExceptionHandlers, der bei nicht abgefangenen Exceptions und Errors entsprechende Ausgaben macht und im Falle eines
Errors den Prozess terminiert.
-
Constructor Summary
Constructors Constructor Description ExitOnErrorUncaughtExceptionHandler()
-
Method Summary
Modifier and Type Method Description void
uncaughtException(java.lang.Thread t, java.lang.Throwable e)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ExitOnErrorUncaughtExceptionHandler
public ExitOnErrorUncaughtExceptionHandler()
-
-
Method Details
-
uncaughtException
public void uncaughtException(java.lang.Thread t, java.lang.Throwable e)- Specified by:
uncaughtException
in interfacejava.lang.Thread.UncaughtExceptionHandler
-