- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 379 for IllegalArgumentException (0.25 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/executer/RerunTestResultProcessor.java
delegate.failure(testId, throwable); } catch (IllegalArgumentException illegalArgumentException) { logTracing(testId, illegalArgumentException); } } } private void logTracing(Object testId, IllegalArgumentException illegalArgumentException) { // Add tracing to diagnose why we see this on CI System.out.println("Rerun failure test id = " + testId);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/LinearTransformationTest.java
} public void testMapping_infiniteX1() { assertThrows( IllegalArgumentException.class, () -> LinearTransformation.mapping(Double.POSITIVE_INFINITY, 3.4)); } public void testMapping_infiniteY1() { assertThrows( IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, Double.NEGATIVE_INFINITY)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/LinearTransformationTest.java
} public void testMapping_infiniteX1() { assertThrows( IllegalArgumentException.class, () -> LinearTransformation.mapping(Double.POSITIVE_INFINITY, 3.4)); } public void testMapping_infiniteY1() { assertThrows( IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, Double.NEGATIVE_INFINITY)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 7.2K bytes - Click Count (0) -
android/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/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) -
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) -
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/collect/MoreCollectorsTest.java
} public void testOnlyElementMultiple() { IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> Stream.of(1, 2).collect(onlyElement())); assertThat(expected).hasMessageThat().contains("1, 2"); } public void testOnlyElementMany() { IllegalArgumentException expected = assertThrows( IllegalArgumentException.class,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
Resources.copy(resource, out); assertThat(out.toString("UTF-8")).isEqualTo(I18N); } public void testGetResource_notFound() { IllegalArgumentException e = assertThrows( IllegalArgumentException.class, () -> Resources.getResource("no such resource")); assertThat(e).hasMessageThat().isEqualTo("resource no such resource not found."); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0)