Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 2,205 for exceptions (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(response2.handshake!!.cipherSuite).isEqualTo(
          response1.handshake!!.cipherSuite,
        )
      }
    
      /**
       * We've had bugs where caching and cross-protocol redirects yield class cast exceptions internal
       * to the cache because we incorrectly assumed that HttpsURLConnection was always HTTPS and
       * HttpURLConnection was always HTTP; in practice redirects mean that each can do either.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

        }
    
        public void test_inheritanceFromFessSystemException() {
            // Test that StorageException extends FessSystemException
            StorageException exception = new StorageException("Test");
    
            assertTrue(exception instanceof FessSystemException);
            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
    - 7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            ContainerNotAvailableException exception2 = new ContainerNotAvailableException("service2", new RuntimeException());
            assertEquals("service2 is not available.", exception2.getMessage());
    
            ContainerNotAvailableException exception3 = new ContainerNotAvailableException(new RuntimeException());
            assertEquals("Container is not available.", exception3.getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            assertEquals(longMessage, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_getCause_withNestedExceptions() {
            // Test deeply nested exception causes
            Exception level3 = new Exception("Level 3: Database connection failed");
            Exception level2 = new Exception("Level 2: User lookup failed", level3);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            SearchQueryException exception1 = new SearchQueryException("Exception 1");
            SearchQueryException exception2 = new SearchQueryException("Exception 2", new Exception("Cause 2"));
            SearchQueryException exception3 = new SearchQueryException(new Exception("Cause 3"));
    
            assertNotSame(exception1, exception2);
            assertNotSame(exception2, exception3);
            assertNotSame(exception1, exception3);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            String message1 = "First exception";
            String message2 = "Second exception";
    
            UnsupportedSearchException exception1 = new UnsupportedSearchException(message1);
            UnsupportedSearchException exception2 = new UnsupportedSearchException(message2);
    
            assertNotSame(exception1, exception2);
            assertEquals(message1, exception1.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertFailsWith<UnsupportedOperationException> {
          client
            .newBuilder()
            .sslSocketFactory(handshakeCertificates.sslSocketFactory())
        }
      }
    
      /** Confirm that runtime exceptions thrown inside of OkHttp propagate to the caller.  */
      @Test
      fun unexpectedExceptionSync() {
        client =
          client
            .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            FessUserNotFoundException exception1 = new FessUserNotFoundException("user1");
            FessUserNotFoundException exception2 = new FessUserNotFoundException("user2");
    
            assertNotSame(exception1, exception2);
            assertFalse(exception1.getMessage().equals(exception2.getMessage()));
            assertEquals("User is not found: user1", exception1.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            String message = "Session expired";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_throwAndCatch() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            UserRoleLoginException exception1 = new UserRoleLoginException(RootAction.class);
            UserRoleLoginException exception2 = new UserRoleLoginException(RootAction.class);
    
            assertNotSame(exception1, exception2);
            assertEquals(exception1.getActionClass(), exception2.getActionClass());
            assertSame(RootAction.class, exception1.getActionClass());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top