- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 256 for throwing (0.08 seconds)
-
android/guava/src/com/google/common/collect/Range.java
* * <ul> * <li>{@code [a..a]} : a singleton range * <li>{@code [a..a); (a..a]} : {@linkplain #isEmpty empty} ranges; also valid * <li>{@code (a..a)} : <b>invalid</b>; an exception will be thrown * </ul> * * <h3>Warnings</h3> * * <ul> * <li>Use immutable value types only, if at all possible. If you must use a mutable type, <b>do
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 28K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
* load our class directly (which would trigger non-reflective loading of VarHandle) from * within a `try` block, then an error might be thrown even before we enter the `try` * block: https://github.com/google/truth/issues/333#issuecomment-765652454 * * Also, it's nice that this approach should let us catch *only* ClassNotFoundException
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 34.8K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
unexpected NPN response is received and OkHttp crashes. * Fix: Write continuation frames when HPACK data is larger than 16383 bytes. * Fix: Don't drop uncaught exceptions thrown in async calls. * Fix: Throw an exception eagerly when a request body is not legal. Previously we ignored the problem at request-building time, only to crash later with a `NullPointerException`.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} } /** * Iterates the elements of the queue in no particular order. * * <p>If the underlying queue is modified during iteration an exception will be thrown. */ private final class QueueIterator implements Iterator<E> { private int cursor = -1; private int nextCursor = -1; private int expectedModCount = modCount;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 33.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
return asList(elements).iterator(); } // In GWT, java.util.TreeSet throws ClassCastException when the comparator // throws it, unlike the JDK. Therefore, we accept ClassCastException as a // valid result thrown by java.util.TreeSet#equals. private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) { try { assertThat(actual).isNotEqualTo(unexpected); } catch (ClassCastException accepted) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 45.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
* * <p><b>Warning:</b> avoid using a {@code predicate} that matches {@code null}. If {@code null} * is matched in this fluent iterable, a {@link NullPointerException} will be thrown. * * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst()}. */ public final Optional<@NonNull E> firstMatch(Predicate<? super E> predicate) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 34.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
* except that it doesn't follow symbolic links and returns {@code Path} instances. * * <p>If the {@link File} passed to one of the {@link Traverser} methods does not exist or is not * a directory, no exception will be thrown and the returned {@link Iterable} will contain a * single element: that file. * * <p>Example: {@code Files.fileTraverser().depthFirstPreOrder(new File("/"))} may return files
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
} // In GWT, java.util.TreeSet throws ClassCastException when the comparator // throws it, unlike the JDK. Therefore, we accept ClassCastException as a // valid result thrown by java.util.TreeSet#equals. private static void assertNotEqualLenient(TreeSet<?> unexpected, SortedSet<?> actual) { try { assertThat(actual).isNotEqualTo(unexpected);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 46.7K bytes - Click Count (0) -
guava/src/com/google/common/io/Files.java
* except that it doesn't follow symbolic links and returns {@code Path} instances. * * <p>If the {@link File} passed to one of the {@link Traverser} methods does not exist or is not * a directory, no exception will be thrown and the returned {@link Iterable} will contain a * single element: that file. * * <p>Example: {@code Files.fileTraverser().depthFirstPreOrder(new File("/"))} may return files
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0) -
guava/src/com/google/common/io/BaseEncoding.java
public int read(byte[] buf, int off, int len) throws IOException { // Overriding this to work around the fact that InputStream's default implementation of // this method will silently swallow exceptions thrown by the single-byte read() method // (other than on the first call to it), which in this case can cause invalid encoded // strings to not throw an exception.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Oct 06 14:51:47 GMT 2025 - 41.7K bytes - Click Count (0)