- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 628 for IllegalArgumentException (0.22 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
Exception cause = new IllegalArgumentException("Root cause"); CrawlerSystemException exception = new CrawlerSystemException(cause); assertNotNull(exception); assertSame(cause, exception.getCause()); // When constructed with cause only, message should be cause's toString() assertEquals("java.lang.IllegalArgumentException: Root cause", exception.getMessage()); }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
} public void testPreconditions() { assertThrows( IllegalArgumentException.class, () -> BloomFilter.create(Funnels.unencodedCharsFunnel(), -1)); assertThrows( IllegalArgumentException.class, () -> BloomFilter.create(Funnels.unencodedCharsFunnel(), -1, 0.03)); assertThrows( IllegalArgumentException.class, () -> BloomFilter.create(Funnels.unencodedCharsFunnel(), 1, 0.0));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/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) -
guava-tests/test/com/google/common/net/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.2K bytes - Viewed (0) -
android/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) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
public void testInvalidIntRange() { assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closed(2, 1)); assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closedOpen(2, 1)); } public void testInvalidLongRange() { assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closed(2L, 1L)); assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closedOpen(2L, 1L)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
assertThrows(IllegalArgumentException.class, () -> HashCode.fromString("")); assertThrows(IllegalArgumentException.class, () -> HashCode.fromString("7")); HashCode unused = HashCode.fromString("7f"); } public void testFromStringFailsWithOddLengthInput() { assertThrows(IllegalArgumentException.class, () -> HashCode.fromString("7f8")); } public void testIntWriteBytesTo() { byte[] dest = new byte[4];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (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, "")); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.5K bytes - Viewed (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, "")); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
.put(ExecutionError.class, e -> e instanceof ExecutionError) .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 - 7K bytes - Viewed (0)