- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 269 for IllegalArgumentException (0.09 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
@Test fun closeCodeOutOfRangeThrows() { assertFailsWith<IllegalArgumentException> { clientWriter.writeClose(98724976, "Hello".encodeUtf8()) }.also { expected -> assertThat(expected.message).isEqualTo("Code must be in range [1000,5000): 98724976") } } @Test fun closeReservedThrows() { assertFailsWith<IllegalArgumentException> { clientWriter.writeClose(1005, "Hello".encodeUtf8())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
void testConstructorWithNullHttpRequest(@Mock Principal mockPrincipal) { // HttpServletRequestWrapper throws IllegalArgumentException for null request IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, () -> new NtlmHttpServletRequest(null, mockPrincipal)); assertEquals("Request cannot be null", ex.getMessage()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun May 18 02:59:16 UTC 2025 - 6.7K bytes - Viewed (1) -
src/test/java/jcifs/internal/witness/WitnessEnumTest.java
// Test that invalid valueOf throws exception assertThrows(IllegalArgumentException.class, () -> { WitnessServiceType.valueOf("INVALID_TYPE"); }); assertThrows(IllegalArgumentException.class, () -> { WitnessVersion.valueOf("INVALID_VERSION"); }); assertThrows(IllegalArgumentException.class, () -> { WitnessEventType.valueOf("INVALID_EVENT");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
e -> e instanceof ConcurrentModificationException) .put(ExecutionException.class, e -> e instanceof ExecutionException) .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException) .put(IllegalStateException.class, e -> e instanceof IllegalStateException) .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
* limitations under the License. */ package okhttp3.internal.platform.android import android.net.http.X509TrustManagerExtensions import java.lang.IllegalArgumentException import java.security.cert.Certificate import java.security.cert.CertificateException import java.security.cert.X509Certificate import javax.net.ssl.SSLPeerUnverifiedException import javax.net.ssl.X509TrustManager
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt
"pass" -> password = value "h" -> host = value "port" -> port = value "p" -> path = value "q" -> query = value "f" -> fragment = value else -> throw IllegalArgumentException("unexpected attribute: $value") } } override fun toString(): String = format("Parsing: <%s> against <%s>", input!!, base!!) companion object {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClusterException.java
* added. * * @throws NullPointerException if {@code exceptions} is null * @throws IllegalArgumentException if {@code exceptions} is empty */ static RuntimeException create(Collection<? extends Throwable> exceptions) { if (exceptions.size() == 0) { throw new IllegalArgumentException("Can't create an ExceptionCollection with no exceptions"); } if (exceptions.size() == 1) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4K bytes - Viewed (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)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.1K bytes - Viewed (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)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.1K bytes - Viewed (0)