- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for SomeUncheckedException (0.08 sec)
-
guava-tests/test/com/google/common/base/ThrowablesTest.java
@SuppressWarnings("ThrowIfUncheckedKnownUnchecked") public void testThrowIfUnchecked_unchecked() { assertThrows( SomeUncheckedException.class, () -> throwIfUnchecked(new SomeUncheckedException())); } // We're testing that the method is in fact equivalent to throwing the exception directly. @SuppressWarnings("ThrowIfUncheckedKnownUnchecked")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
@SuppressWarnings("ThrowIfUncheckedKnownUnchecked") public void testThrowIfUnchecked_unchecked() { assertThrows( SomeUncheckedException.class, () -> throwIfUnchecked(new SomeUncheckedException())); } // We're testing that the method is in fact equivalent to throwing the exception directly. @SuppressWarnings("ThrowIfUncheckedKnownUnchecked")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
} public void testException() { SomeUncheckedException exception = new SomeUncheckedException(); Iterator<Integer> iter = new AbstractIterator<Integer>() { @Override public Integer computeNext() { throw exception; } }; // It should pass through untouched SomeUncheckedException e = assertThrows(SomeUncheckedException.class, iter::hasNext);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
assertThrows( SomeUncheckedException.class, () -> getMap() .merge( k0(), v3(), (oldV, newV) -> { assertEquals(v0(), oldV); assertEquals(v3(), newV); throw new SomeUncheckedException(); })); expectUnchanged();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
Iterator<Object> broken = new BrokenAbstractSequentialIterator(); assertTrue(broken.hasNext()); // We can't retrieve even the known first element: assertThrows(SomeUncheckedException.class, broken::next); assertThrows(SomeUncheckedException.class, broken::next); } private static Iterator<Integer> newDoubler(int first, int last) { return new AbstractSequentialIterator<Integer>(first) { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
assertThrows( SomeUncheckedException.class, () -> getMap() .merge( k0(), v3(), (oldV, newV) -> { assertEquals(v0(), oldV); assertEquals(v3(), newV); throw new SomeUncheckedException(); })); expectUnchanged();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
.put(SomeError.class, e -> e instanceof SomeError) .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException) .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java
.put(SomeError.class, e -> e instanceof SomeError) .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException) .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
.put(SomeError.class, e -> e instanceof SomeError) .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException) .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UnsupportedCharsetException.class, e -> e instanceof UnsupportedCharsetException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
.put(SomeError.class, e -> e instanceof SomeError) .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException) .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException) .put(TimeoutException.class, e -> e instanceof TimeoutException) .put(UncheckedExecutionException.class, e -> e instanceof UncheckedExecutionException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0)