- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 863 for IllegalArgumentException (0.16 seconds)
-
guava/src/com/google/common/collect/MapMaker.java
* avoids the need for expensive resizing operations later, but setting this value unnecessarily * high wastes memory. * * @throws IllegalArgumentException if {@code initialCapacity} is negative * @throws IllegalStateException if an initial capacity was already set */ @CanIgnoreReturnValue public MapMaker initialCapacity(int initialCapacity) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/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); } } // ===================================================================================Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 17.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/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); } } // ===================================================================================Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java
chain.add(new FullWidthToHalfWidthAlphabetNormalizer()); String result = chain.normalize(null, "field"); assertEquals(null, result); } @Test(expected = IllegalArgumentException.class) public void test_addNullNormalizer() throws Exception { NormalizerChain chain = new NormalizerChain(); chain.add(null); } @Test
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/util/SecureKeyManager.java
*/ public void storeSessionKey(String sessionId, byte[] key, String algorithm) { checkNotClosed(); if (key == null || sessionId == null) { throw new IllegalArgumentException("Session ID and key must not be null"); } // Clone the key to prevent external modification byte[] keyClone = key.clone();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 21.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
* k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n * log n) time and O(n) space. * * @throws IllegalArgumentException if {@code k < 0} * @since 22.0 */ public static <T extends @Nullable Object> Collector<T, ?, List<T>> least( int k, Comparator<? super T> comparator) { checkNonnegative(k, "k");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 10.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
new MessageDigestHashFunction(algorithmName, bytes, algorithmName).hashBytes(input)); } int maxSize = digest.getDigestLength(); assertThrows( IllegalArgumentException.class, () -> new MessageDigestHashFunction(algorithmName, maxSize + 1, algorithmName)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 4.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
/* * We throw IllegalStateException, since the call could succeed later. Perhaps we "should" throw * IllegalArgumentException, since the call could succeed with a different argument. Those * exceptions' docs suggest that either is acceptable. Google's Java Practices page recommends * IllegalArgumentException here, in part to keep its recommendation simple: Static methodsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
* Object#toString}. */ NON_STANDARD_TOSTRING, /** * Indicates that the constructor or factory method of a collection, usually an immutable set, * throws an {@link IllegalArgumentException} when presented with duplicate elements instead of * collapsing them to a single element or including duplicate instances in the collection. */ REJECTS_DUPLICATES_AT_CREATION, SUPPORTS_ADD,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
// Mostly 4-byte UTF-8 sequences - "rare exotic" text return Character.MAX_CODE_POINT; } else { throw new IllegalArgumentException("Can't decode codepoint " + userFriendly); } } } public static MaxCodePoint valueOf(String userFriendly) { return new MaxCodePoint(userFriendly); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.3K bytes - Click Count (0)