- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 269 for IllegalStateException (0.12 sec)
-
android/guava/src/com/google/common/collect/ImmutableMap.java
* IllegalArgumentException} is thrown when the collection 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: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
writeSecurityBuffer(type3, 52, offset, sessionKey); writeULong(type3, 60, flags); return type3; } catch (final IOException ex) { throw new IllegalStateException(ex.getMessage()); } } @Override public String toString() { final String user = getUser(); final String domain = getDomain();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
.build(), ) val response1 = get(server.url("/")) val source = response1.body.source() assertThat(source.readUtf8(5)).isEqualTo("ABCDE") source.close() assertFailsWith<IllegalStateException> { source.readByte() } assertThat(cache.writeAbortCount()).isEqualTo(1) assertThat(cache.writeSuccessCount()).isEqualTo(0) val response2 = get(server.url("/"))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
api/maven-api-settings/src/main/mdo/settings.mdo
private String sourceLevel = USER_LEVEL; private boolean sourceLevelSet = false; public void setSourceLevel(String sourceLevel) { if (sourceLevelSet) { throw new IllegalStateException("Cannot reset sourceLevel attribute; it is already set to: " + sourceLevel); } else if (!(USER_LEVEL.equals(sourceLevel) || PROJECT_LEVEL.equals(sourceLevel) || GLOBAL_LEVEL.equals(sourceLevel))) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 33.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
contentsReadingConverter, normalizer, analyzer) .stream(); } catch (OpenSearchStatusException | IllegalStateException e) { final String msg = e.getMessage(); if (StringUtil.isNotEmpty(msg) || msg.contains("index.analyze.max_token_count")) {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 34.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
listener.restrictRange(node.getArtifact(), replacement, newRange); } break; default: throw new IllegalStateException("Unknown event: " + event); } } } @Override @SuppressWarnings("checkstyle:parameternumber") public ArtifactResolutionResult collect(
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 36.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
* immediately calling {@code remove()} on that iterator, as the {@code Iterator} contract states * that a call to {@code remove()} before a call to {@code next()} will throw an {@link * IllegalStateException}. * * <p><b>{@code Stream} equivalent:</b> {@link Stream#skip} * * @since 3.0 */ public static <T extends @Nullable Object> Iterable<T> skip(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
} @Test fun incompleteUrlComposition() { val noHost = assertFailsWith<IllegalStateException> { HttpUrl.Builder().scheme("http").build() } assertThat(noHost.message).isEqualTo("host == null") val noScheme = assertFailsWith<IllegalStateException> { HttpUrl.Builder().host("host").build() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* IllegalArgumentException} is thrown when the collection operation is performed. (This differs * from the {@code Collector} returned by {@link Collectors#toMap(Function, Function)}, which * throws an {@code IllegalStateException}.) * * @since 21.0 */ public static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap( Function<? super T, ? extends K> keyFunction,Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
} @Override public void remove() { checkRemove(false); } } /** * Returns the empty {@code Iterator} that throws {@link IllegalStateException} instead of {@link * UnsupportedOperationException} on a call to {@link Iterator#remove()}. */ // Casting to any type is safe since there are no actual elements. @SuppressWarnings("unchecked")Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0)