- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,971 for Exceptions (0.41 sec)
-
src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java
// Ensure they are different instances assertNotSame(exception1, exception2); assertNotSame(exception2, exception3); assertNotSame(exception1, exception3); } public void test_throwAndCatch() { // Test throwing and catching the exception String errorMessage = "LDAP server not reachable"; try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)