- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 628 for IllegalArgumentException (0.12 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
} open fun url(url: HttpUrl): Builder = apply { this.url = url } /** * Sets the URL target of this request. * * @throws IllegalArgumentException if [url] is not a valid HTTP or HTTPS URL. Avoid this * exception by calling [HttpUrl.parse]; it returns null for invalid URLs. */ open fun url(url: String): Builder = url(canonicalUrl(url).toHttpUrl())Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 13.1K bytes - Viewed (1) -
android/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) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
.createTestSuite()); return suite; } public void testBuilderWithExpectedKeysNegative() { assertThrows( IllegalArgumentException.class, () -> ImmutableSetMultimap.builderWithExpectedKeys(-1)); } public void testBuilderWithExpectedKeysZero() { ImmutableSetMultimap.Builder<String, String> builder =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* @return a new, empty {@code ArrayList} which is guaranteed not to resize itself unless its size * reaches {@code initialArraySize + 1} * @throws IllegalArgumentException if {@code initialArraySize} is negative */ @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call public static <E extends @Nullable Object> ArrayList<E> newArrayListWithCapacity(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
if (iterator.hasNext()) { sb.append(", ..."); } sb.append('>'); throw new IllegalArgumentException(sb.toString()); } /** * Returns the single element contained in {@code iterator}, or {@code defaultValue} if the * iterator is empty. * * @throws IllegalArgumentException if the iterator contains multiple elements. The state of the * iterator is unspecified. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
} } assertTrue(foundTestMethod); } public void test_nestedExceptions() { // Test nested exception handling Exception innerCause = new IllegalArgumentException("Invalid LDAP parameter"); RuntimeException middleCause = new RuntimeException("LDAP configuration error", innerCause);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java
} public void test_stackTrace() { // Test that stack trace is properly maintained String message = "Stack trace test"; Exception cause = new IllegalArgumentException("Invalid argument"); ScriptEngineException exception = new ScriptEngineException(message, cause); // Verify stack trace exists StackTraceElement[] stackTrace = exception.getStackTrace();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
assertTrue(exception instanceof java.io.Serializable); } public void test_nestedExceptions() { // Test nested exception handling Exception innerCause = new IllegalArgumentException("Invalid parameter"); RuntimeException middleCause = new RuntimeException("Processing failed", innerCause); ThemeException exception = new ThemeException("Theme operation failed", middleCause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
* bimap. Otherwise, the specified map must contain at least one mapping, in order to determine * the key type. * * @param map the map whose mappings are to be placed in this map * @throws IllegalArgumentException if map is not an {@code EnumBiMap} or an {@code EnumHashBiMap} * instance and contains no mappings */ public static <K extends Enum<K>, V extends @Nullable Object> EnumHashBiMap<K, V> create(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
* point, Finalizer can stop running */ if (!finalizableReferenceClass.getName().equals(FINALIZABLE_REFERENCE)) { throw new IllegalArgumentException("Expected " + FINALIZABLE_REFERENCE + "."); } Finalizer finalizer = new Finalizer(finalizableReferenceClass, queue, frqReference); String threadName = Finalizer.class.getName(); Thread thread = null;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 9.3K bytes - Viewed (0)