Class LoggingThreadUncaughtExceptionHandler
- java.lang.Object
 - 
- org.opendaylight.infrautils.utils.concurrent.LoggingThreadUncaughtExceptionHandler
 
 
- 
- All Implemented Interfaces:
 Thread.UncaughtExceptionHandler
public final class LoggingThreadUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
Thread's UncaughtExceptionHandler which logs to slf4j.- Author:
 - Michael Vorburger.ch
 
 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Thread.UncaughtExceptionHandlertoLogger(org.slf4j.Logger logger)Factory method to obtain an instance of this bound to the passed slf4j Logger.voiduncaughtException(Thread thread, Throwable throwable) 
 - 
 
- 
- 
Method Detail
- 
toLogger
public static Thread.UncaughtExceptionHandler toLogger(org.slf4j.Logger logger)
Factory method to obtain an instance of this bound to the passed slf4j Logger. 
- 
uncaughtException
public void uncaughtException(Thread thread, Throwable throwable)
- Specified by:
 uncaughtExceptionin interfaceThread.UncaughtExceptionHandler
 
 - 
 
 -