static final class EventBus.LoggingHandler extends Object implements SubscriberExceptionHandler
| Modifier and Type | Field and Description |
|---|---|
(package private) static EventBus.LoggingHandler |
INSTANCE
unique instance
|
| Constructor and Description |
|---|
LoggingHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleException(Throwable exception,
SubscriberExceptionContext context)
Handles exceptions thrown by subscribers.
|
private static Logger |
logger(SubscriberExceptionContext context) |
private static String |
message(SubscriberExceptionContext context) |
static final EventBus.LoggingHandler INSTANCE
LoggingHandler()
public void handleException(Throwable exception, SubscriberExceptionContext context)
SubscriberExceptionHandlerhandleException in interface SubscriberExceptionHandlerexception - exceptioncontext - contextprivate static Logger logger(SubscriberExceptionContext context)
private static String message(SubscriberExceptionContext context)