Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for thrown (0.17 sec)

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

       *
       * @throws X if {@code get} throws any checked exception except for an {@code ExecutionException}
       *     whose cause is not itself a checked exception
       * @throws UncheckedExecutionException if {@code get} throws an {@code ExecutionException} with a
       *     {@code RuntimeException} as its cause
       * @throws ExecutionError if {@code get} throws an {@code ExecutionException} with an {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
        } catch (UnsupportedOperationException expected) {
        }
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
        } catch (UnsupportedOperationException expected) {
        }
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          // user object is implemented with bugs similar to the user object.
          builder.append("Exception thrown from implementation: ").append(e.getClass());
        }
      }
    
      /**
       * Submits the given runnable to the given {@link Executor} catching and logging all {@linkplain
       * RuntimeException runtime exceptions} thrown by the executor.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

       *
       * <p><b>Note:</b> <i>all exceptions thrown during refresh will be logged and then swallowed</i>.
       *
       * @param duration the length of time after an entry is created that it should be considered
       *     stale, and thus eligible for refresh
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalArgumentException if {@code duration} is negative
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Preconditions.java

     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
     * of a specified type, which helps the method in which the exception was thrown communicate that
     * its caller has made a mistake. This allows constructs such as
     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   if (value < 0) {
     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
     * of a specified type, which helps the method in which the exception was thrown communicate that
     * its caller has made a mistake. This allows constructs such as
     *
     * <pre>{@code
     * public static double sqrt(double value) {
     *   if (value < 0) {
     *     throw new IllegalArgumentException("input is negative: " + value);
     *   }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      public void testBulkLoad_extra() throws ExecutionException {
        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) throws Exception {
                return new Object();
              }
    
              @Override
              public Map<Object, Object> loadAll(Iterable<?> keys) throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      public void testBulkLoad_extra() throws ExecutionException {
        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) throws Exception {
                return new Object();
              }
    
              @Override
              public Map<Object, Object> loadAll(Iterable<?> keys) throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        }
    
        /**
         * Add or replace an artifact. This method is now deprecated. Use the @{MavenProjectHelper} to attach artifacts to a
         * project. In spite of the 'throws' declaration on this API, this method has never thrown an exception since Maven
         * 3.0.x. Historically, it logged and ignored a second addition of the same g/a/v/c/t. Now it replaces the file for
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
Back to top