Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for tagged (0.19 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          getDone(all);
          fail();
        } catch (ExecutionException expected) {
          List<LogRecord> logged = aggregateFutureLogHandler.getStoredLogRecords();
          assertThat(logged).hasSize(2); // failures after the first are logged
          assertThat(logged.get(0).getThrown()).isInstanceOf(MyException.class);
          assertThat(logged.get(1).getThrown()).isInstanceOf(MyException.class);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          getDone(all);
          fail();
        } catch (ExecutionException expected) {
          List<LogRecord> logged = aggregateFutureLogHandler.getStoredLogRecords();
          assertThat(logged).hasSize(2); // failures after the first are logged
          assertThat(logged.get(0).getThrown()).isInstanceOf(MyException.class);
          assertThat(logged.get(1).getThrown()).isInstanceOf(MyException.class);
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closeables.java

      private Closeables() {}
    
      /**
       * Closes a {@link Closeable}, with control over whether an {@code IOException} may be thrown.
       * This is primarily useful in a finally block, where a thrown exception needs to be logged but
       * not propagated (otherwise the original exception will be lost).
       *
       * <p>If {@code swallowIOException} is true then we never throw {@code IOException} but merely log
       * it.
       *
       * <p>Example:
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          try {
            new NullPointerTester().testMethodParameter(new OneArg(), method, 0);
          } catch (AssertionFailedError unexpected) {
            fail("Should not have flagged method " + methodName);
          }
        }
      }
    
      public void testStaticOneArgMethodsThatShouldFail() throws Exception {
        for (String methodName : STATIC_ONE_ARG_METHODS_SHOULD_FAIL) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     * use a framework. Frameworks automate the process, often adding features like monitoring,
     * debugging, and cancellation. Examples of frameworks include:
     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
     * <h4>{@link java.util.concurrent.CompletableFuture} / {@link java.util.concurrent.CompletionStage}
     * </h4>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

     * When a task is {@linkplain Thread#interrupt interrupted}, execution of subsequent tasks
     * continues. See {@link QueueWorker#workOnQueue} for details.
     *
     * <p>{@code RuntimeException}s thrown by tasks are simply logged and the executor keeps trucking.
     * If an {@code Error} is thrown, the error will propagate and execution will stop until it is
     * restarted by a call to {@link #execute}.
     */
    @J2ktIncompatible
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/LoadingCache.java

       * If the new value is loaded successfully it will replace the previous value in the cache; if an
       * exception is thrown while refreshing the previous value will remain, <i>and the exception will
       * be logged (using {@link java.util.logging.Logger}) and swallowed</i>.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#reload} if the cache
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheLoader.java

       * overridden with an asynchronous implementation when using {@link
       * CacheBuilder#refreshAfterWrite}.
       *
       * <p><b>Note:</b> <i>all exceptions thrown by this method will be logged and then swallowed</i>.
       *
       * @param key the non-null key whose value should be loaded
       * @param oldValue the non-null old value corresponding to {@code key}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       *   at ...
       *   at ...
       * Caused by: com...ExampleStackTrace: ReadWriteA -&gt; LockB
       *   at ...
       *   at ...
       * </pre>
       *
       * <p>Instances are logged for the {@code Policies.WARN}, and thrown for {@code Policies.THROW}.
       *
       * @since 13.0
       */
      public static final class PotentialDeadlockException extends ExampleStackTrace {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    time, but never ONE with such a neck as that!  No, no!  You're a
    serpent; and there's no use denying it.  I suppose you'll be
    telling me next that you never tasted an egg!'
    
      `I HAVE tasted eggs, certainly,' said Alice, who was a very
    truthful child; `but little girls eat eggs quite as much as
    serpents do, you know.'
    
      `I don't believe it,' said the Pigeon; `but if they do, why
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
Back to top