- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 713 for IllegalArgumentException (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
TestScriptEngine engine = new TestScriptEngine(); try { scriptEngineFactory.add(null, engine); fail("Should throw IllegalArgumentException for null name"); } catch (IllegalArgumentException e) { assertTrue(e.getMessage().contains("Both name and scriptEngine parameters are required")); assertTrue(e.getMessage().contains("name: null")); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ContiguousSet.java
/** * Returns a {@code ContiguousSet} containing the same values in the given domain {@linkplain * Range#contains contained} by the range. * * @throws IllegalArgumentException if neither range nor the domain has a lower bound, or if * neither has an upper bound * @since 13.0 */ public static <C extends Comparable> ContiguousSet<C> create(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt
@Test fun malformedPin() { val builder = CertificatePinner.Builder() assertFailsWith<IllegalArgumentException> { builder.add("example.com", "md5/DmxUShsZuNiqPQsX2Oi9uv2sCnw=") } } @Test fun malformedBase64() { val builder = CertificatePinner.Builder() assertFailsWith<IllegalArgumentException> { builder.add("example.com", "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw*") } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/GraphsTest.java
// By default, parallel edges are not allowed. IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> directedGraph.addEdge(N1, N2, E12_A)); assertThat(e).hasMessageThat().contains(ERROR_PARALLEL_EDGE); // By default, self-loop edges are not allowed. e = assertThrows(IllegalArgumentException.class, () -> directedGraph.addEdge(N1, N1, E11));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 09 23:46:06 GMT 2026 - 30.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ContiguousSet.java
/** * Returns a {@code ContiguousSet} containing the same values in the given domain {@linkplain * Range#contains contained} by the range. * * @throws IllegalArgumentException if neither range nor the domain has a lower bound, or if * neither has an upper bound * @since 13.0 */ public static <C extends Comparable> ContiguousSet<C> create(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/AsciiTest.java
public void testTruncateIllegalArguments() { assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", 2, "...")); assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", 8, "1234567890")); assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", -1, "...")); assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", -1, "")); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
public void testTruncateIllegalArguments() { assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", 2, "...")); assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", 8, "1234567890")); assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", -1, "...")); assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", -1, "")); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java
* @return the same list if validation passes, or {@code null} if input was {@code null} * @throws IllegalArgumentException if the list contains duplicate repositories * @throws IllegalArgumentException if the list contains null repository entries */ default List<RemoteRepository> validate(List<RemoteRepository> repositories) { if (repositories == null) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} @Test @DisplayName("Should throw exception for SMB 3.1.1 without preauth hash") void testConstructorSmb311WithoutPreauthHash() { IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0311, null));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThrows(IllegalArgumentException.class, () -> builder.expireAfterWrite(-1, SECONDS)); } @J2ktIncompatible @GwtIncompatible // Duration public void testTimeToLive_negative_duration() { CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder(); assertThrows( IllegalArgumentException.class, () -> builder.expireAfterWrite(Duration.ofSeconds(-1))); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0)