- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 403 for IllegalArgumentException (0.08 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) -
android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java
assertNodeNotInGraphErrorMessage( assertThrows(IllegalArgumentException.class, () -> graph.adjacentNodes(N1))); assertNodeNotInGraphErrorMessage( assertThrows(IllegalArgumentException.class, () -> graph.predecessors(N1))); assertNodeNotInGraphErrorMessage( assertThrows(IllegalArgumentException.class, () -> graph.successors(N1))); assertNodeNotInGraphErrorMessage(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 17.3K 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/dcerpc/UUIDTest.java
void testConstructorWithStringInvalidCharacter() { // Arrange String invalidUuid = "00112233-4455-6677-8899-AABBCCDDEXX"; // 'X' is invalid // Act & Assert assertThrows(IllegalArgumentException.class, () -> new UUID(invalidUuid), "Should throw IllegalArgumentException for invalid character in UUID string");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K 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) -
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) -
src/test/java/jcifs/util/InputValidatorTest.java
assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(null, 0, dst, 0, 10)); assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(src, 0, null, 0, 10)); assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(src, -1, dst, 0, 10));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
} @Test @DisplayName("Should create exception with root cause") void testConstructorWithRootCause() { Exception rootCause = new IllegalArgumentException("Root cause exception"); TransportException exception = new TransportException(rootCause); assertNotNull(exception); assertNull(exception.getMessage());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K 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) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
} @Test void testMapInformationLevelWithInvalidLevel() { // Test invalid information level IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> Trans2QueryPathInformation.mapInformationLevel(999)); assertTrue(exception.getMessage().contains("Unsupported information level")); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0)