Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 364 for RuntimeException (0.07 sec)

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

        assertTrue(listener.isEmpty());
        checkEmpty(cache);
      }
    
      public void testGet_runtimeException() {
        RuntimeException e = new RuntimeException();
        LoadingCache<Object, Object> map =
            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(exceptionLoader(e));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

                        throw new RuntimeException("Final reconnection attempt failed", e);
                    }
    
                    // Retry
                    try {
                        return attemptReconnect(info, attempt + 1, originalCause).get();
                    } catch (Exception retryException) {
                        throw new RuntimeException("Retry failed", retryException);
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  3. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            }
    
            @Test
            @DisplayName("Should handle null message with root cause")
            void testConstructorWithNullMessageAndRootCause() {
                Exception rootCause = new RuntimeException("Root cause");
                TransportException exception = new TransportException(null, rootCause);
    
                assertNotNull(exception);
                assertNull(exception.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryExpiredException.java

     * This runtime exception indicates that a dictionary file or dictionary data
     * has exceeded its lifetime and should be refreshed or reloaded.
     */
    public class DictionaryExpiredException extends RuntimeException {
    
        /** Serial version UID for serialization. */
        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a new instance of DictionaryExpiredException.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenException.java

    import java.io.Serial;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Base class for all maven exceptions.
     *
     * @since 4.0.0
     */
    @Experimental
    public class MavenException extends RuntimeException {
    
        @Serial
        private static final long serialVersionUID = 9027638326336093132L;
    
        public MavenException() {}
    
        public MavenException(String message) {
            super(message);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

              public void run() {
                try {
                  okayToRun.await();
                } catch (InterruptedException e) {
                  Thread.currentThread().interrupt();
                  throw new RuntimeException(e);
                }
                runCalled.getAndIncrement();
              }
            },
            directExecutor());
        Runnable execute =
            new Runnable() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

        }
    
        public void test_exceptionInheritance() {
            // Test that exception is a RuntimeException
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

        }
    
        @Override
        public ApiResponse handleApplicationException(final ApiFailureResource resource, final RuntimeException cause) {
            if (cause instanceof LoginUnauthorizedException) {
                return asJson(createFailureBean(Status.UNAUTHORIZED, "Unauthorized request.")).httpStatus(HTTP_UNAUTHORIZED);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top