- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 863 for IllegalArgumentException (0.38 seconds)
-
guava-tests/test/com/google/common/graph/ValueGraphTest.java
graph.putEdgeValue(1, 2, "A"); IllegalArgumentException e = assertThrows( IllegalArgumentException.class, () -> graph.edgeValue(EndpointPair.unordered(1, 2))); assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH); e = assertThrows( IllegalArgumentException.class, () -> graph.edgeValue(EndpointPair.unordered(2, 1)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 20.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/MathPreconditionsTest.java
public void testCheckPositive_zeroInt() { assertThrows(IllegalArgumentException.class, () -> MathPreconditions.checkPositive("int", 0)); } public void testCheckPositive_maxInt() { MathPreconditions.checkPositive("int", Integer.MAX_VALUE); } public void testCheckPositive_minInt() { assertThrows( IllegalArgumentException.class, () -> MathPreconditions.checkPositive("int", Integer.MIN_VALUE));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
addEdge(N1, N2, E12); IllegalArgumentException e = assertThrows( IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N1, N2, EDGE_NOT_IN_GRAPH)); assertThat(e).hasMessageThat().contains(ERROR_PARALLEL_EDGE); e = assertThrows( IllegalArgumentException.class,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 19K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt
@Test fun ofRejectsNullChar() { assertFailsWith<IllegalArgumentException> { headersOf("User-Agent", "Square\u0000OkHttp") } } @Test fun ofMapThrowsOnEmptyName() { assertFailsWith<IllegalArgumentException> { mapOf("" to "OkHttp").toHeaders() } } @Test fun ofMapThrowsOnBlankName() { assertFailsWith<IllegalArgumentException> { mapOf(" " to "OkHttp").toHeaders() } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/RangeTest.java
assertThrows(IllegalArgumentException.class, () -> range.gap(Range.closed(2, 3))); } public void testGap_invalidRangesWithInfinity() { assertThrows(IllegalArgumentException.class, () -> Range.atLeast(1).gap(Range.atLeast(2))); assertThrows(IllegalArgumentException.class, () -> Range.atLeast(2).gap(Range.atLeast(1)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
graph.putEdgeValue(1, 2, "A"); IllegalArgumentException e = assertThrows( IllegalArgumentException.class, () -> graph.edgeValueOrDefault(EndpointPair.unordered(1, 2), "default")); assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH); e = assertThrows( IllegalArgumentException.class,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 17.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
public void testForUriStringBad() { assertThrows(IllegalArgumentException.class, () -> InetAddresses.forUriString("")); assertThrows( IllegalArgumentException.class, () -> InetAddresses.forUriString("192.168.999.888")); assertThrows( IllegalArgumentException.class, () -> InetAddresses.forUriString("www.google.com")); assertThrows(IllegalArgumentException.class, () -> InetAddresses.forUriString("[1:2e]"));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/ICUNormalizer.java
* Constructor for ICUNormalizer. * @param transliteratorId The ID of the transliterator to use. * @throws IllegalArgumentException if transliteratorId is null or invalid */ public ICUNormalizer(final String transliteratorId) { if (transliteratorId == null) { throw new IllegalArgumentException("transliteratorId must not be null"); } try {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 17 14:23:01 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
public <T> void testWhere_incompatibleGenericArrayMapping() { assertThrows( IllegalArgumentException.class, () -> new TypeResolver().where(new TypeCapture<T[]>() {}.capture(), String.class)); } public <T> void testWhere_incompatibleParameterizedTypeMapping() { assertThrows( IllegalArgumentException.class, () -> new TypeResolver().where(new TypeCapture<Iterable<T>>() {}.capture(), List.class));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
addEdge(N1, N2, E12); IllegalArgumentException e = assertThrows( IllegalArgumentException.class, () -> networkAsMutableNetwork.addEdge(N1, N2, EDGE_NOT_IN_GRAPH)); assertThat(e).hasMessageThat().contains(ERROR_PARALLEL_EDGE); e = assertThrows( IllegalArgumentException.class,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 18.6K bytes - Click Count (0)