- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 863 for IllegalArgumentException (0.2 seconds)
-
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateKotlinVersionsTest.groovy
def allVersions = ["2.0.0", "2.0.0-RC1", "2.0.0-Beta1"] when: UpdateKotlinVersions.selectVersionsFrom(minimumSupported, allVersions) then: def ex = thrown(IllegalArgumentException) ex.message == "Minimum supported '1.9.10' was not found in available versions: [2.0.0, 2.0.0-RC1, 2.0.0-Beta1]" }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Oct 29 08:29:55 GMT 2025 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/BaseGraph.java
* <li>{@code hashCode()} does not throw * <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s * behavior is undefined * </ul> * * @throws IllegalArgumentException if {@code node} is not an element of this graph * @since 24.0 */ Set<EndpointPair<N>> incidentEdges(N node);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 11 17:11:16 GMT 2025 - 2.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
@CollectionSize.Require(SEVERAL) public void testSetValue_valuePresent() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertThrows(IllegalArgumentException.class, () -> entry.setValue(v1())); } } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
private fun domain( domain: String, hostOnly: Boolean, ) = apply { val canonicalDomain = domain.toCanonicalHost() ?: throw IllegalArgumentException("unexpected domain: $domain") this.domain = canonicalDomain this.hostOnly = hostOnly } fun path(path: String) = apply {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 23.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
@CollectionSize.Require(SEVERAL) public void testSetValue_valuePresent() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertThrows(IllegalArgumentException.class, () -> entry.setValue(v1())); } } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt
assertThat("⑴".map()).isEqualTo("(1)") } @Test fun outOfBounds() { assertFailsWith<IllegalArgumentException> { table.map(-1, Buffer()) } table.map(0, Buffer()) // Lowest legal code point. table.map(0x10ffff, Buffer()) // Highest legal code point. assertFailsWith<IllegalArgumentException> { table.map(0x110000, Buffer()) } } @Test fun binarySearchEvenSizedRange() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 8.9K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Reflection.java
* define the proxy class. To implement multiple interfaces or specify a class loader, use {@link * Proxy#newProxyInstance}. * * @throws IllegalArgumentException if {@code interfaceType} does not specify the type of a Java * interface */ public static <T> T newProxy(Class<T> interfaceType, InvocationHandler handler) { checkNotNull(handler);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java
Exception exception1 = new Exception("Failure 1"); Exception exception2 = new RuntimeException("Failure 2"); Exception exception3 = new IllegalArgumentException("Failure 3"); result.addFailure(exception1); result.addFailure(exception2); result.addFailure(exception3); assertTrue(result.hasFailure());Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
assertEquals("another", result.get(2)); } @Test(expected = IllegalArgumentException.class) public void testGetAsListWithArray() { // Test with array (should throw exception) String[] array = { "one", "two" }; SuggestUtil.getAsList(array); } @Test(expected = IllegalArgumentException.class) public void testGetAsListWithDouble() {
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 26.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt
val multipart = MultipartBody.Builder() assertFailsWith<IllegalArgumentException> { multipart.addPart( headersOf("Content-Type", "text/plain"), "Hello, World!".toRequestBody(null), ) } } @Test fun contentLengthHeaderIsForbidden() { val multipart = MultipartBody.Builder() assertFailsWith<IllegalArgumentException> { multipart.addPart(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.5K bytes - Click Count (0)