- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for SubscriberExceptionContext (0.14 seconds)
-
android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java
import static com.google.common.base.Preconditions.checkNotNull; import java.lang.reflect.Method; /** * Context for an exception thrown by a subscriber. * * @since 16.0 */ public class SubscriberExceptionContext { private final EventBus eventBus; private final Object event; private final Object subscriber; private final Method subscriberMethod; /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 2.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
private static final class RecordingSubscriberExceptionHandler implements SubscriberExceptionHandler { private SubscriberExceptionContext context; private Throwable exception; @Override public void handleException(Throwable exception, SubscriberExceptionContext context) { this.exception = exception; this.context = context; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
private static final class RecordingSubscriberExceptionHandler implements SubscriberExceptionHandler { private SubscriberExceptionContext context; private Throwable exception; @Override public void handleException(Throwable exception, SubscriberExceptionContext context) { this.exception = exception; this.context = context; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/Subscriber.java
if (e.getCause() instanceof Error) { throw (Error) e.getCause(); } throw e; } } /** Gets the context for the given event. */ private SubscriberExceptionContext context(Object event) { return new SubscriberExceptionContext(bus, event, target, method); } @Override public final int hashCode() { return (31 + method.hashCode()) * 31 + System.identityHashCode(target); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0)