Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for failures (0.16 sec)

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

              // misconfigured mock. Try to switch to Failure.
              Failure failure;
              try {
                failure = new Failure(t);
              } catch (Exception | Error oomMostLikely) { // sneaky checked exception
                failure = Failure.FALLBACK_INSTANCE;
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        checkNotNull(throwable);
        if (!state.permitsPublicUserToTransitionTo(State.FAILURE)) {
          return false;
        }
    
        forceSetException(throwable);
        return true;
      }
    
      private void forceSetException(Throwable throwable) {
        this.throwable = throwable;
        this.state = State.FAILURE;
        notifyAndClearListeners();
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top