- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for SubscriberExceptionContext (0.3 sec)
-
android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java
import java.lang.reflect.Method; /** * Context for an exception thrown by a subscriber. * * @since 16.0 */ @ElementTypesAreNonnullByDefault public class SubscriberExceptionContext { private final EventBus eventBus; private final Object event; private final Object subscriber; private final Method subscriberMethod; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 22 13:05:46 UTC 2021 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/PackageSanityTests.java
public void handle(@Nullable Object unused) {} Subscriber toSubscriber() throws Exception { return Subscriber.create(eventBus, this, subscriberMethod()); } SubscriberExceptionContext toContext() { return new SubscriberExceptionContext(eventBus, new Object(), this, subscriberMethod()); } private static Method subscriberMethod() { try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java
* * @since 16.0 */ @ElementTypesAreNonnullByDefault public interface SubscriberExceptionHandler { /** Handles exceptions thrown by subscribers. */ void handleException(Throwable exception, SubscriberExceptionContext context);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 22 13:05:46 UTC 2021 - 928 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
private static final class RecordingSubscriberExceptionHandler implements SubscriberExceptionHandler { public SubscriberExceptionContext context; public Throwable exception; @Override public void handleException(Throwable exception, SubscriberExceptionContext context) { this.exception = exception; this.context = context; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java
* * @since 16.0 */ @ElementTypesAreNonnullByDefault public interface SubscriberExceptionHandler { /** Handles exceptions thrown by subscribers. */ void handleException(Throwable exception, SubscriberExceptionContext context);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 22 13:05:46 UTC 2021 - 928 bytes - Viewed (0) -
guava/src/com/google/common/eventbus/Subscriber.java
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); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 4.7K bytes - Viewed (0)