- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 863 for IllegalArgumentException (0.26 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java
* @return the {@link ProjectBuilderResult} containing the built project and possible errors * @throws ProjectBuilderException if the project cannot be created * @throws IllegalArgumentException if an argument is {@code null} or invalid */ @Nonnull ProjectBuilderResult build(ProjectBuilderRequest request) throws ProjectBuilderException; /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Nov 16 20:36:20 GMT 2024 - 2.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
* * @param key 16-byte array * @throws IllegalArgumentException if key is not 16 bytes */ public Smb2LeaseKey(byte[] key) { if (key == null) { throw new IllegalArgumentException("Lease key cannot be null"); } if (key.length != LEASE_KEY_SIZE) { throw new IllegalArgumentException("Lease key must be 16 bytes, got " + key.length); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graph.java
/** * Returns true if this graph allows self-loops (edges that connect a node to itself). Attempting * to add a self-loop to a graph that does not allow them will throw an {@link * IllegalArgumentException}. */ @Override boolean allowsSelfLoops(); /** Returns the order of iteration for the elements of {@link #nodes()}. */ @Override ElementOrder<N> nodeOrder(); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
} @Test public void testDurableHandleReconnectInvalidFileId() { assertThrows(IllegalArgumentException.class, () -> { new DurableHandleReconnect(new byte[8]); // Wrong length }); assertThrows(IllegalArgumentException.class, () -> { new DurableHandleReconnect(new byte[20]); // Wrong length }); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
} } } public void testPreconditions() { assertThrows( IllegalArgumentException.class, () -> BloomFilter.create(unencodedCharsFunnel(), -1)); assertThrows( IllegalArgumentException.class, () -> BloomFilter.create(unencodedCharsFunnel(), -1, 0.03)); assertThrows( IllegalArgumentException.class, () -> BloomFilter.create(unencodedCharsFunnel(), 1, 0.0)); assertThrows(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 23K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Nov 23 13:04:17 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
try { multiset.add(entry.getElement(), entry.getCount()); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } try { multiset.add(entry.getElement()); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } try { multiset.addAll(singletonList(entry.getElement()));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
try { multiset.add(entry.getElement(), entry.getCount()); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } try { multiset.add(entry.getElement()); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } try { multiset.addAll(singletonList(entry.getElement()));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypesTest.java
public void testNewParameterizedType_invalidTypeParameters() { assertThrows( IllegalArgumentException.class, () -> Types.newParameterizedTypeWithOwner(Map.class, Entry.class, String.class)); } public void testNewParameterizedType_primitiveTypeParameters() { assertThrows( IllegalArgumentException.class, () -> Types.newParameterizedTypeWithOwner(Map.class, Entry.class, int.class, int.class));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 15.5K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
} catch (e: NoSuchElementException) { throw IllegalArgumentException("failed to decode certificate", e) } catch (e: IllegalArgumentException) { throw IllegalArgumentException("failed to decode certificate", e) } catch (e: GeneralSecurityException) { throw IllegalArgumentException("failed to decode certificate", e) } } } internal data class TbsCertificate(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Click Count (0)