- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 269 for IllegalStateException (0.07 sec)
-
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
} public void test_throwAndCatchWithCause() { // Test throwing and catching exception with cause String expectedMessage = "Theme validation failed"; Exception expectedCause = new IllegalStateException("Invalid state"); try { throw new ThemeException(expectedMessage, expectedCause); } catch (ThemeException e) { assertEquals(expectedMessage, e.getMessage());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
@Override public jakarta.servlet.AsyncContext startAsync() throws IllegalStateException { return null; } @Override public jakarta.servlet.AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws IllegalStateException { return null; } @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
} catch (Exception e) { return false; } } private void checkNotClosed() { if (closed) { throw new IllegalStateException("SecureKeyManager is closed"); } } // Key rotation configuration private long keyRotationIntervalMillis = 3600000L; // 1 hour default
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
der.writeObject(derApplicationSpecific); return collector.toByteArray(); } catch (final IOException ex) { throw new IllegalStateException(ex.getMessage()); } } @Override protected void parse(final byte[] token) throws IOException { try (ASN1InputStream is = new ASN1InputStream(token)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
// Test constructor with status code and exception int statusCode = 503; String causeMessage = "Service temporarily unavailable"; Exception cause = new IllegalStateException(causeMessage); WebApiException exception = new WebApiException(statusCode, cause); assertEquals(statusCode, exception.getStatusCode()); assertEquals(causeMessage, exception.getMessage());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/TableCollectors.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 19:03:19 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
assertEquals(cause, exception.getCause()); } public void test_nestedExceptionChain() { // Test nested exception chain Exception rootCause = new IllegalStateException("Root cause"); Exception middleCause = new RuntimeException("Middle cause", rootCause); String message = "Top level error";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* operation is performed. (This differs from the {@code Collector} returned by {@link * Collectors#toMap(Function, Function)}, which throws an {@code IllegalStateException}.) * * @since 33.2.0 (available since 21.0 in guava-jre) */ @IgnoreJRERequirement // Users will use this only if they're already using streams. public static <T extends @Nullable Object, K, V>Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt
import okio.Buffer import okio.BufferedSink import okio.utf8Size import org.junit.jupiter.api.Test class MultipartBodyTest { @Test fun onePartRequired() { assertFailsWith<IllegalStateException> { MultipartBody.Builder().build() }.also { expected -> assertThat(expected.message) .isEqualTo("Multipart body must have at least one part.") } } @TestRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0)