- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 613 for IllegalArgumentException (0.15 sec)
-
guava/src/com/google/common/util/concurrent/ServiceManager.java
private final ImmutableList<Service> services; /** * Constructs a new instance for managing the given services. * * @param services The services to manage * @throws IllegalArgumentException if not all services are {@linkplain State#NEW new} or if there * are any duplicate services. */ public ServiceManager(Iterable<? extends Service> services) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 33.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
* drop escaped separators (i.e '\,'). * * @param str the <code>String</code> to unescape, may be null * @return the processed string * @throws IllegalArgumentException if the Writer is <code>null</code> */ protected static String unescapeJava(String str) { if (str == null) { return null; } int sz = str.length();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
checkNotNull(keyFunction); checkNotNull(valueFunction); return Collector.of( () -> new EnumMapAccumulator<K, V>( (v1, v2) -> { throw new IllegalArgumentException("Multiple values for key: " + v1 + ", " + v2); }), (accum, t) -> { /* * We assign these to variables before calling checkNotNull to work around a bug in our
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 17.1K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java
if (map != null) { synonymMap = map; fst = synonymMap.fst; if (fst == null) { throw new IllegalArgumentException("fst must be non-null"); } fstReader = fst.getBytesReader(); scratchArc = new FST.Arc<>(); clearAttributes(); } }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 17K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
// You can't say "assuming String is Integer". // And we don't support "assuming String is T"; user has to say "assuming T is String". throw new IllegalArgumentException("No type mapping from " + fromClass + " to " + to); } }.visit(from); } /** * Resolves all type variables in {@code type} and all downstream types and returns a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
} public void testLeastOfIterable_simple_negativeOne() { assertThrows( IllegalArgumentException.class, () -> numberOrdering.leastOf(asList(3, 4, 5, -1), -1)); } public void testLeastOfIterator_simple_negativeOne() { assertThrows( IllegalArgumentException.class, () -> numberOrdering.leastOf(Iterators.forArray(3, 4, 5, -1), -1)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
} public void testLeastOfIterable_simple_negativeOne() { assertThrows( IllegalArgumentException.class, () -> numberOrdering.leastOf(asList(3, 4, 5, -1), -1)); } public void testLeastOfIterator_simple_negativeOne() { assertThrows( IllegalArgumentException.class, () -> numberOrdering.leastOf(Iterators.forArray(3, 4, 5, -1), -1)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* <p><b>{@link java.nio.file.Path} equivalent:</b> {@link java.nio.file.Files#readAllBytes}. * * @param file the file to read from * @return a byte array containing all the bytes from file * @throws IllegalArgumentException if the file is bigger than the largest possible byte array * (2^31 - 1) * @throws IOException if an I/O error occurs */ public static byte[] toByteArray(File file) throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
/** * Exceptions should be {@link NullPointerException}, {@link IllegalArgumentException}, or * {@link UnsupportedOperationException}. */ NPE_IAE_OR_UOE() { @Override public boolean isExpectedType(Throwable cause) { return cause instanceof NullPointerException || cause instanceof IllegalArgumentException || cause instanceof UnsupportedOperationException; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
.createTestSuite()); suite.addTestSuite(ImmutableListMultimapTest.class); return suite; } public void testBuilderWithExpectedKeysNegative() { assertThrows( IllegalArgumentException.class, () -> ImmutableListMultimap.builderWithExpectedKeys(-1)); } public void testBuilderWithExpectedKeysZero() { ImmutableListMultimap.Builder<String, String> builder =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 25.4K bytes - Viewed (0)