- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 628 for IllegalArgumentException (0.36 sec)
-
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
} catch (ioe: IOException) { // https://github.com/square/okhttp/issues/5840 when (ioe.cause) { is IllegalArgumentException -> { assertEquals("Android internal error", ioe.message) } is CertificateException -> { assertTrue(ioe.cause?.cause is IllegalArgumentException) assertEquals( true, ioe.cause ?.cause ?.message
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 14:12:28 UTC 2025 - 29K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList.Builder<String> builder = ImmutableList.builder(); for (int i = 0; i < 100; i++) { builder.add("a"); } IllegalArgumentException expected = assertThrows( IllegalArgumentException.class, () -> builder.addAll(nCopies(Integer.MAX_VALUE - 50, "a"))); assertThat(expected) .hasMessageThat()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
return new Iterator<Integer>() { @Override public void remove() { // Wrong exception type. throw new IllegalArgumentException(); } @Override public Integer next() { // Wrong exception type. throw new UnsupportedOperationException(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
private final ImmutableList<Service> services; /** * Constructs a new instance for managing the given services. * * @param services The services to manage * @throws IllegalArgumentException if not all services are {@linkplain State#NEW new} or if there * are any duplicate services. */ public ServiceManager(Iterable<? extends Service> services) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 33.2K bytes - Viewed (1) -
guava/src/com/google/common/primitives/UnsignedInteger.java
} /** * Returns a {@code UnsignedInteger} representing the same value as the specified {@link * BigInteger}. This is the inverse operation of {@link #bigIntegerValue()}. * * @throws IllegalArgumentException if {@code value} is negative or {@code value >= 2^32} */ public static UnsignedInteger valueOf(BigInteger value) { checkNotNull(value); checkArgument(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
final byte[] unicodeHash) { super(domain, username, (String) null); if (domain == null || username == null || ansiHash == null || unicodeHash == null) { throw new IllegalArgumentException("External credentials cannot be null"); } this.ansiHash = ansiHash; this.unicodeHash = unicodeHash; this.hashesExternal = true; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.3K bytes - Viewed (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/EndpointPairTest.java
for (MutableNetwork<Integer, String> network : testNetworks) { network.addEdge(1, 2, "1-2"); EndpointPair<Integer> endpointPair = network.incidentNodes("1-2"); assertThrows(IllegalArgumentException.class, () -> endpointPair.adjacentNode(3)); } } @Test public void testEquals() { EndpointPair<String> ordered = EndpointPair.ordered("a", "b");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 9.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
checkNotNull(keyFunction); checkNotNull(valueFunction); return Collector.of( () -> new EnumMapAccumulator<K, V>( (v1, v2) -> { throw new IllegalArgumentException("Multiple values for key: " + v1 + ", " + v2); }), (accum, t) -> { /* * We assign these to variables before calling checkNotNull to work around a bug in our
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 16.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
checkNotNull(keyFunction); checkNotNull(valueFunction); return Collector.of( () -> new EnumMapAccumulator<K, V>( (v1, v2) -> { throw new IllegalArgumentException("Multiple values for key: " + v1 + ", " + v2); }), (accum, t) -> { /* * We assign these to variables before calling checkNotNull to work around a bug in our
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 16.6K bytes - Viewed (0)