- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for propagateIfInstanceOf (0.09 sec)
-
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
} @J2ktIncompatible @GwtIncompatible // propagateIfInstanceOf public void testPropagateIfInstanceOf_checkedSame() { assertThrows( SomeCheckedException.class, () -> propagateIfInstanceOf(new SomeCheckedException(), SomeCheckedException.class)); } @J2ktIncompatible @GwtIncompatible // propagateIfInstanceOf
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
} @J2ktIncompatible @GwtIncompatible // propagateIfInstanceOf public void testPropagateIfInstanceOf_checkedSame() { assertThrows( SomeCheckedException.class, () -> propagateIfInstanceOf(new SomeCheckedException(), SomeCheckedException.class)); } @J2ktIncompatible @GwtIncompatible // propagateIfInstanceOf
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/src/com/google/common/base/Throwables.java
* <pre> * try { * someMethodThatCouldThrowAnything(); * } catch (IKnowWhatToDoWithThisException e) { * handle(e); * } catch (Throwable t) { * Throwables.propagateIfInstanceOf(t, IOException.class); * Throwables.propagateIfInstanceOf(t, SQLException.class); * throw Throwables.propagate(t); * } * </pre> * * @deprecated Use {@link #throwIfInstanceOf}, which has the same behavior but rejects {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0)