Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

     */
    
    package com.google.common.eventbus;
    
    
    /**
     * Handler for exceptions thrown by event subscribers.
     *
     * @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)
  2. android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java

     */
    
    package com.google.common.eventbus;
    
    
    /**
     * Handler for exceptions thrown by event subscribers.
     *
     * @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)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      public void testSubscriberThrowsExceptionHandlerThrowsException() throws Exception {
        final EventBus eventBus =
            new EventBus(
                new SubscriberExceptionHandler() {
                  @Override
                  public void handleException(Throwable exception, SubscriberExceptionContext context) {
                    throw new RuntimeException();
                  }
                });
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top