Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getEventBus (0.06 sec)

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

      }
    
      /**
       * @return The {@link EventBus} that handled the event and the subscriber. Useful for broadcasting
       *     a new event based on the error.
       */
      public EventBus getEventBus() {
        return eventBus;
      }
    
      /**
       * @return The event object that caused the subscriber to throw.
       */
      public Object getEvent() {
        return event;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        eventBus.register(subscriber);
        eventBus.post(EVENT);
    
        assertEquals("Cause should be available.", exception, handler.exception);
        assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus());
        assertEquals("Event should be available.", EVENT, handler.context.getEvent());
        assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber());
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/EventBus.java

          }
        }
    
        private static Logger logger(SubscriberExceptionContext context) {
          return Logger.getLogger(EventBus.class.getName() + "." + context.getEventBus().identifier());
        }
    
        private static String message(SubscriberExceptionContext context) {
          Method method = context.getSubscriberMethod();
          return "Exception thrown by subscriber method "
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top