com.kuka.common
Class UncaughtExceptionLogHandler
java.lang.Object
com.kuka.common.UncaughtExceptionLogHandler
- All Implemented Interfaces:
- Thread.UncaughtExceptionHandler
public class UncaughtExceptionLogHandler
- extends Object
- implements Thread.UncaughtExceptionHandler
Logger class for uncaught exceptions.
|
Constructor Summary |
UncaughtExceptionLogHandler()
Creates a new UncaughtExceptionLogHandler with the logger for
logging the exceptions. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UncaughtExceptionLogHandler
public UncaughtExceptionLogHandler()
- Creates a new
UncaughtExceptionLogHandler with the logger for
logging the exceptions. The uncaught exception gets logged by a SLF4j Logger.
uncaughtException
public void uncaughtException(Thread t,
Throwable e)
- Specified by:
uncaughtException in interface Thread.UncaughtExceptionHandler
Copyright © 2019. All rights reserved.