Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for handleException (0.17 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           *   cause if this Future has failed.
           *
           * - And this future *has* failed: This method is called only from handleException (through
           *   getOrInitSeenExceptions). handleException tried to call setException and failed, so
           *   either this Future was cancelled (which we ruled out with the isCancelled check above),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        final EventBus eventBus =
            new EventBus(
                new SubscriberExceptionHandler() {
                  @Override
                  public void handleException(Throwable exception, SubscriberExceptionContext context) {
                    throw new RuntimeException();
                  }
                });
        final Object subscriber =
            new Object() {
              @Subscribe
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        final EventBus eventBus =
            new EventBus(
                new SubscriberExceptionHandler() {
                  @Override
                  public void handleException(Throwable exception, SubscriberExceptionContext context) {
                    throw new RuntimeException();
                  }
                });
        final Object subscriber =
            new Object() {
              @Subscribe
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/EventBus.java

      void handleSubscriberException(Throwable e, SubscriberExceptionContext context) {
        checkNotNull(e);
        checkNotNull(context);
        try {
          exceptionHandler.handleException(e, context);
        } catch (Throwable e2) {
          // if the handler threw an exception... well, just log it
          logger.log(
              Level.SEVERE,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    /**
     * Transform an exception into useful end-user message.
     */
    @Named
    @Singleton
    public class DefaultExceptionHandler implements ExceptionHandler {
    
        public ExceptionSummary handleException(Throwable exception) {
            return handle("", exception);
        }
    
        private ExceptionSummary handle(String message, Throwable exception) {
            String reference = getReference(exception);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
Back to top