- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 269 for IllegalStateException (0.21 sec)
-
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
assertEquals(expectedHashCode.asInt, hash.asInt()); if (expectedHashCode.asLong == null) { try { hash.asLong(); fail(); } catch (IllegalStateException expected) { } } else { assertEquals(expectedHashCode.asLong.longValue(), hash.asLong()); } assertEquals(expectedHashCode.toString, hash.toString()); assertSideEffectFree(hash);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java
String msg = "The foreignPropertyName of the query should not be null:"; msg = msg + " query=" + query; throw new IllegalStateException(msg); } sb.insert(0, CQ_PROPERTY + Srl.initCap(foreignPropertyName) + "."); } query = query.xgetReferrerQuery(); } return sb.toString();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 21.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
assertThat(response.peekTrailers()).isNull() assertThat(source.readUtf8(halfResponseBody.length.toLong())).isEqualTo(halfResponseBody) source.close() assertFailsWith<IllegalStateException> { source.readUtf8() } assertFailsWith<IOException> { response.peekTrailers() } assertFailsWith<IOException> { response.trailers() } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 18K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
@SuppressWarnings("ReturnValueIgnored") public void testMaximumWeight_withoutWeigher() { CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000")); assertThrows( IllegalStateException.class, () -> builder.build(CacheLoader.from(Suppliers.ofInstance(null)))); } @SuppressWarnings("ReturnValueIgnored") public void testMaximumSize_withWeigher() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 19.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
// Use "entryCopy" instead of "entry" because "entry" might be invalidated after // iterator.remove(). assertFalse(entrySet.contains(entryCopy)); assertInvariants(map); assertThrows(IllegalStateException.class, iterator::remove); } else { iterator.next(); assertThrows(UnsupportedOperationException.class, iterator::remove); } assertInvariants(map); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
assertTrue(cycle.hasNext()); assertThrows(IllegalStateException.class, () -> cycle.remove()); } public void testCycleRemoveSameElementTwice() { Iterator<String> cycle = Iterators.cycle("a", "b"); cycle.next(); cycle.remove(); assertThrows(IllegalStateException.class, () -> cycle.remove()); } public void testCycleWhenRemoveIsNotSupported() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertTrue(cycle.hasNext()); assertThrows(IllegalStateException.class, () -> cycle.remove()); } public void testCycleRemoveSameElementTwice() { Iterator<String> cycle = Iterators.cycle("a", "b"); cycle.next(); cycle.remove(); assertThrows(IllegalStateException.class, () -> cycle.remove()); } public void testCycleWhenRemoveIsNotSupported() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* containing the {@code .mvn} directory or flagged with {@code root="true"}. * * @return the root directory of the project * @throws IllegalStateException if the root directory could not be found * @see Session#getRootDirectory() */ @Nonnull Path getRootDirectory(); /** * Returns project parent project, if any. * <p>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Feb 27 11:07:03 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
} @Test public void testUseAfterClose() { keyManager.close(); assertThrows(IllegalStateException.class, () -> keyManager.storeSessionKey("session", testKey, "AES")); } @Test public void testMultipleCloseCalls() { keyManager.storeSessionKey("session", testKey, "AES");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java
final BulkItemResponse[] itemResponses = response.getItems(); if (itemResponses.length != entityList.size()) { throw new IllegalStateException("Invalid response size: " + itemResponses.length + " != " + entityList.size()); } final int[] results = new int[itemResponses.length]; for (int i = 0; i < itemResponses.length; i++) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0)