Class LoggingThreadUncaughtExceptionHandler
- java.lang.Object
-
- org.opendaylight.yangtools.util.concurrent.LoggingThreadUncaughtExceptionHandler
-
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
@Deprecated(forRemoval=true) public final class LoggingThreadUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
Deprecated, for removal: This API element is subject to removal in a future version.This class forms a hard dependency on SLF4J API and is therefore deprecated for removal.Thread's UncaughtExceptionHandler which logs to slf4j.- Author:
- Michael Vorburger.ch
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Thread.UncaughtExceptionHandler
toLogger(Logger logger)
Deprecated, for removal: This API element is subject to removal in a future version.Factory method to obtain an instance of this bound to the passed slf4j Logger.void
uncaughtException(Thread thread, Throwable throwable)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
toLogger
public static Thread.UncaughtExceptionHandler toLogger(Logger logger)
Deprecated, for removal: This API element is subject to removal in a future version.Factory method to obtain an instance of this bound to the passed slf4j Logger.
-
uncaughtException
public void uncaughtException(Thread thread, Throwable throwable)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
-
-