public class HoneybadgerUncaughtExceptionHandler
extends java.lang.Object
implements java.lang.Thread.UncaughtExceptionHandler
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
protected NoticeReporter |
reporter |
| Constructor and Description |
|---|
HoneybadgerUncaughtExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
registerAsUncaughtExceptionHandler()
Use
HoneybadgerUncaughtExceptionHandler
as the error handler for the current thread. |
static void |
registerAsUncaughtExceptionHandler(java.lang.Thread t)
Use
HoneybadgerUncaughtExceptionHandler
as the error handler for the specified thread. |
void |
uncaughtException(java.lang.Thread t,
java.lang.Throwable e) |
protected NoticeReporter reporter
protected org.slf4j.Logger logger
public void uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
uncaughtException in interface java.lang.Thread.UncaughtExceptionHandlerpublic static void registerAsUncaughtExceptionHandler()
HoneybadgerUncaughtExceptionHandler
as the error handler for the current thread.public static void registerAsUncaughtExceptionHandler(java.lang.Thread t)
HoneybadgerUncaughtExceptionHandler
as the error handler for the specified thread.t - thread to register handler for