Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SubscriberExceptionHandler (0.63 sec)

  1. android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    /**
     * Handler for exceptions thrown by event subscribers.
     *
     * @since 16.0
     */
    public interface SubscriberExceptionHandler {
      /** Handles exceptions thrown by subscribers. */
      void handleException(Throwable exception, SubscriberExceptionContext context);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 894 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

       * @param subscriberExceptionHandler Handler used to handle exceptions thrown from subscribers.
       *     See {@link SubscriberExceptionHandler} for more information.
       * @since 16.0
       */
      public AsyncEventBus(Executor executor, SubscriberExceptionHandler subscriberExceptionHandler) {
        super("default", executor, Dispatcher.legacyAsync(), subscriberExceptionHandler);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/EventBus.java

      }
    
      /**
       * Creates a new EventBus with the given {@link SubscriberExceptionHandler}.
       *
       * @param exceptionHandler Handler for subscriber exceptions.
       * @since 16.0
       */
      public EventBus(SubscriberExceptionHandler exceptionHandler) {
        this("default", directExecutor(), Dispatcher.perThreadDispatchQueue(), exceptionHandler);
      }
    
      EventBus(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

            handler.context.getSubscriberMethod());
      }
    
      public void testSubscriberThrowsExceptionHandlerThrowsException() throws Exception {
        EventBus eventBus =
            new EventBus(
                new SubscriberExceptionHandler() {
                  @Override
                  public void handleException(Throwable exception, SubscriberExceptionContext context) {
                    throw new RuntimeException();
                  }
                });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top