- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 628 for IllegalArgumentException (0.09 sec)
-
guava/src/com/google/common/graph/Graphs.java
* rather than a live view. In other words, modifications to {@code graph} made after this method * returns will not be reflected in the set. * * @throws IllegalArgumentException if {@code node} is not present in {@code graph} * @since 33.1.0 (present with return type {@code Set} since 20.0) */ public static <N> ImmutableSet<N> reachableNodes(Graph<N> graph, N node) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 23.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java
RESTRICTS_VALUES, SUPPORTS_PUT, SUPPORTS_REMOVE, FAILS_FAST_ON_CONCURRENT_MODIFICATION, /** * Indicates that the constructor or factory method of a map, usually an immutable map, throws an * {@link IllegalArgumentException} when presented with duplicate keys instead of discarding all * but one. */ REJECTS_DUPLICATES_AT_CREATION, GENERAL_PURPOSE(SUPPORTS_PUT, SUPPORTS_REMOVE);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
* it does not, then null is returned. If it does, then if {@code throwIfDuplicateKeys} is true an * {@code IllegalArgumentException} is thrown, and otherwise the existing {@link Entry} is * returned. * * @throws IllegalArgumentException if another entry in the bucket has the same key and {@code * throwIfDuplicateKeys} is trueRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
* @see jcifs.internal.dfs.DfsReferralDataInternal#stripPathConsumed(int) */ @Override public void stripPathConsumed(final int i) { if (i > this.pathConsumed) { throw new IllegalArgumentException("Stripping more than consumed"); } this.pathConsumed -= i; } @Override public void fixupDomain(final String dom) { final String s = getServer();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionBean.java
String msg = "The value should not be null: variableName=null value=" + value; throw new IllegalArgumentException(msg); } if (value == null) { String msg = "The value should not be null: variableName=" + variableName; throw new IllegalArgumentException(msg); } } // ===================================================================================Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/QueuesTest.java
assertThrows(IllegalArgumentException.class, () -> Queues.newLinkedBlockingDeque(0)); assertEquals(1, Queues.newLinkedBlockingDeque(1).remainingCapacity()); assertEquals(11, Queues.newLinkedBlockingDeque(11).remainingCapacity()); } public void testNewLinkedBlockingQueueCapacity() { assertThrows(IllegalArgumentException.class, () -> Queues.newLinkedBlockingQueue(0));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
/* Map must have at least one entry if not an EnumBiMap. */ assertThrows( IllegalArgumentException.class, () -> EnumBiMap.create(Collections.<Currency, Country>emptyMap())); assertThrows( IllegalArgumentException.class, () -> EnumBiMap.create(EnumHashBiMap.<Currency, Country>create(Currency.class))); /* Map can be empty if it's an EnumBiMap. */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
assertSame(expected, future.get()); } @J2ktIncompatible @GwtIncompatible public void testAsAsyncCallable_exception() throws Exception { Exception expected = new IllegalArgumentException(); Callable<String> callable = new Callable<String>() { @Override public String call() throws Exception { throw expected; } };
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
K key = checkNotNull(entry.getKey()); V previous = delegate.put(key, checkNotNull(entry.getValue())); if (throwIfDuplicateKeys && previous != null) { throw new IllegalArgumentException("duplicate key: " + key); } } this.delegate = Collections.unmodifiableMap(delegate); } @Override boolean isPartialView() { return false; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java
* * @param request the request containing the various data * @return a new {@link DependencyCoordinates} object * * @throws IllegalArgumentException if {@code request} is null or * if {@code request.getSession()} is null or invalid */ @Nonnull DependencyCoordinates create(@Nonnull DependencyCoordinatesFactoryRequest request);Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.4K bytes - Viewed (0)