- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for sneakyThrow (0.06 seconds)
-
android/guava/src/com/google/common/util/concurrent/SneakyThrows.java
* Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}. * * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to * sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can * write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always * throw. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 30 18:44:22 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/SneakyThrows.java
* Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}. * * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to * sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can * write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always * throw. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Feb 03 21:52:39 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/SneakyThrows.java
* Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}. * * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to * sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can * write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always * throw. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 30 18:44:22 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.collect.SneakyThrows.sneakyThrow; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Streams.java
exception.addSuppressed(e); } } } if (exception != null) { // Normally this is a RuntimeException that doesn't need sneakyThrow. // But theoretically we could see sneaky checked exception sneakyThrow(exception); } } /** * Returns a {@link Stream} containing the elements of the first stream, followed by the elements * of the second stream, and so on.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 21 15:40:45 GMT 2025 - 36.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Streams.java
exception.addSuppressed(e); } } } if (exception != null) { // Normally this is a RuntimeException that doesn't need sneakyThrow. // But theoretically we could see sneaky checked exception sneakyThrow(exception); } } /** * Returns a {@link Stream} containing the elements of the first stream, followed by the elements * of the second stream, and so on.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 36.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
import static com.google.common.util.concurrent.Futures.immediateFuture; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static com.google.common.util.concurrent.SneakyThrows.sneakyThrow; import static java.util.concurrent.Executors.callable; import static java.util.concurrent.Executors.newFixedThreadPool; import static java.util.concurrent.TimeUnit.MILLISECONDS;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 46.8K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
import static com.google.common.util.concurrent.Callables.threadRenaming; import static com.google.common.util.concurrent.Internal.toNanosSaturated; import static com.google.common.util.concurrent.SneakyThrows.sneakyThrow; import static java.util.Objects.requireNonNull; import static java.util.concurrent.Executors.defaultThreadFactory; import static java.util.concurrent.Executors.unconfigurableExecutorService;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 45.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
import static com.google.common.util.concurrent.Futures.immediateFuture; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static com.google.common.util.concurrent.SneakyThrows.sneakyThrow; import static java.util.concurrent.Executors.callable; import static java.util.concurrent.Executors.newFixedThreadPool; import static java.util.concurrent.TimeUnit.MILLISECONDS;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 46.8K bytes - Click Count (0)