- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 291 for IllegalArgumentException (0.17 sec)
-
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 {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 2.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java
if (progressedSize < 0L) { throw new IllegalArgumentException("progressed file size cannot be negative: " + size); } if (size >= 0 && progressedSize > size) { throw new IllegalArgumentException( "progressed file size cannot be greater than size: " + progressedSize + " > " + size); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Apr 16 10:09:21 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* Constructs a ContentCache with the given byte array data. * * @param data the byte array containing the content * @throws IllegalArgumentException if data is null */ public ContentCache(final byte[] data) { if (data == null) { throw new IllegalArgumentException("data must not be null"); } this.data = data.clone(); this.file = null; } /**Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 4.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3.4K bytes - Viewed (0) -
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java
Registered: Sat Dec 20 13:04:59 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: Sat Dec 20 13:44:44 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 Dec 26 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 Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.7K bytes - Viewed (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));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0)