- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 863 for IllegalArgumentException (0.18 seconds)
-
android/guava/src/com/google/common/eventbus/Subscriber.java
* synchronized. */ @VisibleForTesting void invokeSubscriberMethod(Object event) throws InvocationTargetException { try { method.invoke(target, checkNotNull(event)); } catch (IllegalArgumentException e) { throw new Error("Method rejected target/argument: " + event, e); } catch (IllegalAccessException e) { throw new Error("Method became inaccessible: " + event, e);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/PredecessorsFunction.java
* href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges"> * graph elements</a> for details) * </ul> * * @throws IllegalArgumentException if {@code node} is not an element of this graph */ Iterable<? extends N> predecessors(N node);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
subprojects = JsonBasedGradleSubprojectProvider(File("./subprojects.json")), ) val testClassDataJson = File(System.getProperty("inputTestClassDataJson") ?: throw IllegalArgumentException("Input file not found!")) val generatedBucketsJson = File(System.getProperty("outputBucketSplitJson", "./test-buckets.json")) FunctionalTestBucketGenerator(model, testClassDataJson).generate(generatedBucketsJson)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 7.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java
@MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(ZERO) public void testPutWithSameValueFails() { getMap().put(k0(), v0()); assertThrows(IllegalArgumentException.class, () -> getMap().put(k1(), v0())); // verify that the bimap is unchanged expectAdded(e0()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(ZERO)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java
// Assign a unique address to each buffer instance return bufferAddresses.computeIfAbsent(buffer, b -> addressCounter.getAndIncrement()); } else { throw new IllegalArgumentException("Only direct ByteBuffers are supported for RDMA"); } } /** * Convert RDMA access flags to DiSNI flags * * @param access RDMA access flagsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
/** * Set the maximum pool size * @param size the maximum number of connections in the pool */ public void setMaxPoolSize(int size) { if (size <= 0) { throw new IllegalArgumentException("Pool size must be positive"); } this.maxPoolSize = size; log.info("Set maximum pool size to {}", size); } /** * Set the maximum idle time for connectionsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionBean.java
String msg = "The value should not be null: variableName=null value=" + value; throw new IllegalArgumentException(msg); } if (value == null) { String msg = "The value should not be null: variableName=" + variableName; throw new IllegalArgumentException(msg); } } // ===================================================================================Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 17.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Lists.java
* @return a new, empty {@code ArrayList} which is guaranteed not to resize itself unless its size * reaches {@code initialArraySize + 1} * @throws IllegalArgumentException if {@code initialArraySize} is negative */ @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call public static <E extends @Nullable Object> ArrayList<E> newArrayListWithCapacity(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
assertThrows(NoSuchElementException.class, () -> getOnlyElement(iterable)); } public void testGetOnlyElement_noDefault_multiple() { Iterable<String> iterable = asList("foo", "bar"); assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterable)); } public void testGetOnlyElement_withDefault_singleton() { Iterable<String> iterable = singletonList("foo");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
navigableMap.subMap(entries.get(i).getKey(), entries.get(j).getKey()).entrySet()); } } } @CollectionSize.Require(SEVERAL) public void testSubMapIllegal() { assertThrows(IllegalArgumentException.class, () -> navigableMap.subMap(c.getKey(), a.getKey())); } @CollectionSize.Require(absent = ZERO) public void testOrderedByComparator() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 6.1K bytes - Click Count (0)