- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 628 for IllegalArgumentException (0.17 sec)
-
guava/src/com/google/common/graph/NetworkBuilder.java
this.allowsSelfLoops = allowsSelfLoops; return this; } /** * Specifies the expected number of nodes in the network. * * @throws IllegalArgumentException if {@code expectedNodeCount} is negative */ @CanIgnoreReturnValue public NetworkBuilder<N, E> expectedNodeCount(int expectedNodeCount) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/ValueGraphBuilder.java
this.allowsSelfLoops = allowsSelfLoops; return this; } /** * Specifies the expected number of nodes in the graph. * * @throws IllegalArgumentException if {@code expectedNodeCount} is negative */ @CanIgnoreReturnValue public ValueGraphBuilder<N, V> expectedNodeCount(int expectedNodeCount) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
/** * Set the maximum pool size * @param size the maximum number of connections in the pool */ public void setMaxPoolSize(int size) { if (size <= 0) { throw new IllegalArgumentException("Pool size must be positive"); } this.maxPoolSize = size; log.info("Set maximum pool size to {}", size); } /** * Set the maximum idle time for connectionsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
* @return complete URL with context path and optional timestamp parameter * @throws IllegalArgumentException if input is null or doesn't start with '/' */ public static String url(final String input) { if (input == null) { final String msg = "The argument 'input' should not be null."; throw new IllegalArgumentException(msg); } if (!input.startsWith("/")) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
} @Test fun testH2PriorKnowledgeServerFallback() { try { server.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_1_1) fail<Unit>() } catch (expected: IllegalArgumentException) { assertThat(expected.message).isEqualTo( "protocols containing h2_prior_knowledge cannot use other protocols: " + "[h2_prior_knowledge, http/1.1]", ) } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (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(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt
import org.junit.jupiter.api.extension.RegisterExtension class ConnectionSpecTest { @RegisterExtension val platform = PlatformRule() @Test fun noTlsVersions() { assertFailsWith<IllegalArgumentException> { ConnectionSpec .Builder(ConnectionSpec.MODERN_TLS) .tlsVersions(*arrayOf<String>()) .build() }.also { expected -> assertThat(expected.message)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedLong.java
return new UnsignedLong(bits); } /** * Returns an {@code UnsignedLong} representing the same value as the specified {@code long}. * * @throws IllegalArgumentException if {@code value} is negative * @since 14.0 */ @CanIgnoreReturnValue public static UnsignedLong valueOf(long value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 8.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
private static Class<? extends Annotation> asAnnotation(Class<?> clazz) { if (clazz.isAnnotation()) { return (Class<? extends Annotation>) clazz; } else { throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz)); } } public void testFeatureEnums() throws Exception { assertGoodFeatureEnum(CollectionFeature.class);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.3K bytes - Viewed (0)