public class HoneybadgerUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
| Constructor and Description |
|---|
HoneybadgerUncaughtExceptionHandler() |
HoneybadgerUncaughtExceptionHandler(ConfigContext config) |
public HoneybadgerUncaughtExceptionHandler()
public HoneybadgerUncaughtExceptionHandler(ConfigContext config)
public void uncaughtException(Thread t, Throwable e)
uncaughtException in interface Thread.UncaughtExceptionHandlerpublic NoticeReporter getReporter()
public ConfigContext getConfig()
public static HoneybadgerUncaughtExceptionHandler registerAsUncaughtExceptionHandler()
HoneybadgerUncaughtExceptionHandler
as the error handler for the current thread.public static void registerAsUncaughtExceptionHandler(ConfigContext configContext)
HoneybadgerUncaughtExceptionHandler
as the error handler for the current thread.configContext - configuration context for Honeybadger setuppublic static void registerAsUncaughtExceptionHandler(Thread t)
HoneybadgerUncaughtExceptionHandler
as the error handler for the specified thread.t - thread to register handler forpublic static void registerAsUncaughtExceptionHandler(ConfigContext configContext, Thread t)
HoneybadgerUncaughtExceptionHandler
as the error handler for the specified thread.configContext - configuration context for Honeybadger setupt - thread to register handler forprotected void setConfig(ConfigContext config)
protected void setReporter(NoticeReporter reporter)
protected org.slf4j.Logger getLogger()
protected void setLogger(org.slf4j.Logger logger)
Copyright © 2023 Honeybadger.io. All rights reserved.