- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for SomeCheckedException (0.22 seconds)
-
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
throwIfInstanceOf(new SomeOtherCheckedException(), SomeCheckedException.class); } @GwtIncompatible // throwIfInstanceOf public void testThrowIfInstanceOf_checkedSame() { assertThrows( SomeCheckedException.class, () -> throwIfInstanceOf(new SomeCheckedException(), SomeCheckedException.class)); } @GwtIncompatible // throwIfInstanceOf
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
throwIfInstanceOf(new SomeOtherCheckedException(), SomeCheckedException.class); } @GwtIncompatible // throwIfInstanceOf public void testThrowIfInstanceOf_checkedSame() { assertThrows( SomeCheckedException.class, () -> throwIfInstanceOf(new SomeCheckedException(), SomeCheckedException.class)); } @GwtIncompatible // throwIfInstanceOf
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java
} else { haveBeenCalled = true; throw sneakyThrow(new SomeCheckedException()); } } }; // The first time, the sneakily-thrown exception comes out assertThrows(SomeCheckedException.class, iter::hasNext); // But the second time, AbstractIterator itself throws an ISECreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
Callable<@Nullable Void> callable = () -> { assertThat(Thread.currentThread().getName()).isEqualTo(newName.get()); throw new SomeCheckedException(); }; assertThrows( SomeCheckedException.class, () -> Callables.threadRenaming(callable, newName).call()); assertThat(Thread.currentThread().getName()).isEqualTo(oldName); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
Callable<@Nullable Void> callable = () -> { assertThat(Thread.currentThread().getName()).isEqualTo(newName.get()); throw new SomeCheckedException(); }; assertThrows( SomeCheckedException.class, () -> Callables.threadRenaming(callable, newName).call()); assertThat(Thread.currentThread().getName()).isEqualTo(oldName); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
} else { haveBeenCalled = true; throw sneakyThrow(new SomeCheckedException()); } } }; // The first time, the sneakily-thrown exception comes out assertThrows(SomeCheckedException.class, iter::hasNext); // But the second time, AbstractIterator itself throws an ISECreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
} else { haveBeenCalled = true; throw sneakyThrow(new SomeCheckedException()); } } }; // The first time, the sneakily-thrown exception comes out assertThrows(SomeCheckedException.class, iter::hasNext); // But the second time, AbstractIterator itself throws an ISECreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
} else { haveBeenCalled = true; throw sneakyThrow(new SomeCheckedException()); } } }; // The first time, the sneakily-thrown exception comes out assertThrows(SomeCheckedException.class, iter::hasNext); // But the second time, AbstractIterator itself throws an ISECreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0)