Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for propagate (0.08 sec)

  1. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagate
      public void testPropagate_noneDeclared_unchecked() {
        assertThrows(SomeUncheckedException.class, () -> propagate(new SomeUncheckedException()));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagate
      public void testPropagate_noneDeclared_error() {
        assertThrows(SomeError.class, () -> propagate(new SomeError()));
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Throwables.java

       *     href="https://github.com/google/guava/wiki/Why-we-deprecated-Throwables.propagate">Why we
       *     deprecated {@code Throwables.propagate}</a>.
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible
      @Deprecated
      public static RuntimeException propagate(Throwable throwable) {
        throwIfUnchecked(throwable);
        throw new RuntimeException(throwable);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          // Bug in inputFuture.get(). Propagate to the output Future so that its consumers don't hang.
          setException(e);
          return;
        } catch (Error e) {
          /*
           * StackOverflowError, OutOfMemoryError (e.g., from allocating ExecutionException), or
           * something. Try to treat it like a RuntimeException. If we overflow the stack again, the
           * resulting Error will propagate upward up to the root call to set().
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/ThrowablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagate
      public void testPropagate_noneDeclared_unchecked() {
        assertThrows(SomeUncheckedException.class, () -> propagate(new SomeUncheckedException()));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagate
      public void testPropagate_noneDeclared_error() {
        assertThrows(SomeError.class, () -> propagate(new SomeError()));
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. LICENSE

    form of a separately written license, or stated as exceptions;
    the above requirements apply either way.
    
      8. Termination.
    
      You may not propagate or modify a covered work except as expressly
    provided under this License.  Any attempt otherwise to propagate or
    modify it is void, and will automatically terminate your rights under
    this License (including any patent licenses granted under the third
    paragraph of section 11).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 33.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

              public void run() {
                throw new BadRunnableException();
              }
            };
    
        future.set(1);
        future.addListener(bad, directExecutor()); // BadRunnableException must not propagate.
      }
    
      public void testMisbehavingListenerLaterDone() {
        class BadRunnableException extends RuntimeException {}
    
        CountingRunnable before = new CountingRunnable();
        Runnable bad =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

              public void run() {
                throw new BadRunnableException();
              }
            };
    
        future.set(1);
        future.addListener(bad, directExecutor()); // BadRunnableException must not propagate.
      }
    
      public void testMisbehavingListenerLaterDone() {
        class BadRunnableException extends RuntimeException {}
    
        CountingRunnable before = new CountingRunnable();
        Runnable bad =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

             * IllegalArgumentException is the one unchecked exception that we know is likely to happen
             * (thanks to the checkArgument calls in getAnnotatedMethodsNotCached). If it happens, we'd
             * prefer to propagate an IllegalArgumentException to the caller. However, we don't want to
             * simply rethrow an exception (e.getCause()) that may in rare cases have come from another
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. cmd/update.go

    		// CRI-O, Containerd etc..
    		// Fallback to our container specific ENVs if they are set.
    		return env.IsSet("MINIO_ACCESS_KEY_FILE")
    	}
    
    	// Log error, as we will not propagate it to caller
    	internalLogIf(GlobalContext, err)
    
    	return err == nil
    }
    
    // IsDCOS returns true if minio is running in DCOS.
    func IsDCOS() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

      private static final LazyLogger logger = new LazyLogger(AggregateFuture.class);
    
      /**
       * The input futures. After {@link #init}, this field is read only by {@link #afterDone()} (to
       * propagate cancellation) and {@link #toString()}. To access the futures' <i>values</i>, {@code
       * AggregateFuture} attaches listeners that hold references to one or more inputs. And in the case
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top