Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 358 for RuntimeException (0.09 sec)

  1. guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

        Object newValue = new Object();
        valueRef.set(newValue);
        assertThat(cache.getUnchecked(new Object())).isSameInstanceAs(newValue);
      }
    
      public void testGetUnchecked_unchecked() {
        RuntimeException cause = new RuntimeException();
        AtomicReference<Object> valueRef = new AtomicReference<>();
        LoadingCache<Object, Object> cache =
            new AbstractLoadingCache<Object, Object>() {
              @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

                attemptCount.incrementAndGet();
                throw new RuntimeException("Persistent failure");
            });
    
            try {
                fesenClient.get(c -> mockFuture);
                fail("Expected exception after max retries");
            } catch (RuntimeException e) {
                assertEquals("Persistent failure", e.getMessage());
            }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              {
                set("foo");
              }
            };
        assertEquals("foo", future.get(0, SECONDS));
      }
    
      public void testEvilFuture_setFuture() throws Exception {
        RuntimeException exception = new RuntimeException("you didn't say the magic word!");
        AbstractFuture<String> evilFuture =
            new AbstractFuture<String>() {
              @Override
              public void addListener(Runnable r, Executor e) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

            assertTrue(exception instanceof RuntimeCIFSException, "Should extend RuntimeCIFSException");
            assertTrue(exception instanceof RuntimeException, "Should be a RuntimeException");
        }
    
        @Test
        @DisplayName("Message constructor should create exception with specified message")
        void testMessageConstructor() {
            // Given & When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       *       RuntimeException}, or an {@link ExecutionError} if the cause is an {@code Error}.
       *   <li>Any {@link InterruptedException} is wrapped in an {@code X} (after restoring the
       *       interrupt).
       *   <li>Any {@link CancellationException} is propagated untouched, as is any other {@link
       *       RuntimeException} (though {@code get} implementations are discouraged from throwing such
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java

     * It extends the RuntimeException class and provides constructors for creating exceptions with a message, a cause, or both.
     * It also provides a protected constructor that allows to specify whether or not suppression is enabled or stack trace is writable.
     */
    public class CrawlerSystemException extends RuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java

                    for (String error : allErrors) {
                        System.out.println(error);
                    }
                    throw new RuntimeException("Found " + allErrors.size() + " missing documentation files or anchors.");
                } else {
                    System.out.println("All documentation files and anchors from the JSON files were found in the directory.");
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Aug 21 15:38:58 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java

              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(TimeoutException.class, e -> e instanceof TimeoutException)
              .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java

              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(TimeoutException.class, e -> e instanceof TimeoutException)
              .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(TimeoutException.class, e -> e instanceof TimeoutException)
              .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top