Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setException (0.14 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        if (isDone()) {
          listener.execute();
        } else {
          listeners.add(listener);
        }
      }
    
      @CanIgnoreReturnValue
      protected boolean setException(Throwable throwable) {
        checkNotNull(throwable);
        if (!state.permitsPublicUserToTransitionTo(State.FAILURE)) {
          return false;
        }
    
        forceSetException(throwable);
        return true;
      }
    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)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

     * to set the result of the computation through the protected methods {@link #set(Object)}, {@link
     * #setFuture(ListenableFuture)} and {@link #setException(Throwable)}. Subclasses may also override
     * {@link #afterDone()}, which will be invoked automatically when the future completes. Subclasses
     * should rarely override other methods.
     *
     * @author Sven Mawson
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top