- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for SomeCheckedException (0.17 seconds)
-
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()); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 4.4K bytes - Click Count (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");
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) -
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");
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)