- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SomeCheckedException (0.06 sec)
-
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
@Override public @Nullable Void call() throws Exception { assertEquals(Thread.currentThread().getName(), newName.get()); throw new SomeCheckedException(); } }; assertThrows( SomeCheckedException.class, () -> Callables.threadRenaming(callable, newName).call()); assertEquals(oldName, Thread.currentThread().getName()); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
AbstractFuture<String> f = new AbstractFuture<String>() {}; f.set("foo"); f.addListener(() -> sneakyThrow(new SomeCheckedException()), directExecutor()); } private static final class SomeCheckedException extends Exception {} public void testTrustedGetFailure_completed() { SettableFuture<String> future = SettableFuture.create(); future.set("261");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
AbstractFuture<String> f = new AbstractFuture<String>() {}; f.set("foo"); f.addListener(() -> sneakyThrow(new SomeCheckedException()), directExecutor()); } private static final class SomeCheckedException extends Exception {} public void testTrustedGetFailure_completed() { SettableFuture<String> future = SettableFuture.create(); future.set("261");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0)