- Sort Score
- Num 10 results
- Language All
Results 641 - 650 of 863 for IllegalArgumentException (0.7 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
.createTestSuite()); suite.addTestSuite(ImmutableListMultimapTest.class); return suite; } public void testBuilderWithExpectedKeysNegative() { assertThrows( IllegalArgumentException.class, () -> ImmutableListMultimap.builderWithExpectedKeys(-1)); } public void testBuilderWithExpectedKeysZero() { ImmutableListMultimap.Builder<String, String> builder =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Suppliers.java
* @param duration the length of time after a value is created that it should stop being returned * by subsequent {@code get()} calls * @param unit the unit that {@code duration} is expressed in * @throws IllegalArgumentException if {@code duration} is not positive * @since 2.0 */ @SuppressWarnings("GoodTime") // Prefer the Duration overload public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (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. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
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. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
assertNull(exception.getCause()); } @Test public void test_constructor_withNestedCause() { // Test constructor with nested exception causes Throwable rootCause = new IllegalArgumentException("Root cause"); Throwable middleCause = new IllegalStateException("Middle cause", rootCause); String message = "Command execution failed with nested exception";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
public final int count(@Nullable Object element) { return backingMap.get(element); } // Optional Operations - Modification Operations /** * {@inheritDoc} * * @throws IllegalArgumentException if the call would result in more than {@link * Integer#MAX_VALUE} occurrences of {@code element} in this multiset. */ @CanIgnoreReturnValue @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
} } assertTrue(foundTestMethod); } @Test public void test_nestedExceptions() { // Test nested exception handling Exception innerCause = new IllegalArgumentException("Invalid LDAP parameter"); RuntimeException middleCause = new RuntimeException("LDAP configuration error", innerCause);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.3K bytes - Click Count (0) -
docs/changelogs/changelog_4x.md
had a crash `IllegalArgumentException: Not a Conscrypt trust manager` because we depended on initialization order of companion objects. ## Version 4.7.1 _2020-05-18_ * Fix: Pass the right arguments in the trust manager created for `addInsecureHost()`. Without the fix insecure hosts crash with an `IllegalArgumentException` on Android. ## Version 4.7.0Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
return Primitives.wrap(type).cast(value); } /** * Returns a new immutable class-to-instance map containing the entries provided to this * builder. * * @throws IllegalArgumentException if duplicate keys were added */ public ImmutableClassToInstanceMap<B> build() { ImmutableMap<Class<? extends B>, B> map = mapBuilder.buildOrThrow(); if (map.isEmpty()) { return of();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Converter.java
// SPI methods (what subclasses must implement) /** * Returns a representation of {@code a} as an instance of type {@code B}. If {@code a} cannot be * converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown. * * @param a the instance to convert; will never be null * @return the converted instance; <b>must not</b> be null */ @ForOverride protected abstract B doForward(A a);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0)