- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for throwIfInstanceOf (0.08 sec)
-
guava-tests/test/com/google/common/base/ThrowablesTest.java
} @GwtIncompatible // throwIfInstanceOf public void testThrowIfInstanceOf_unchecked() throws SomeCheckedException { throwIfInstanceOf(new SomeUncheckedException(), SomeCheckedException.class); } @GwtIncompatible // throwIfInstanceOf public void testThrowIfInstanceOf_checkedDifferent() throws SomeCheckedException { throwIfInstanceOf(new SomeOtherCheckedException(), SomeCheckedException.class);
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
} @GwtIncompatible // throwIfInstanceOf public void testThrowIfInstanceOf_unchecked() throws SomeCheckedException { throwIfInstanceOf(new SomeUncheckedException(), SomeCheckedException.class); } @GwtIncompatible // throwIfInstanceOf public void testThrowIfInstanceOf_checkedDifferent() throws SomeCheckedException { throwIfInstanceOf(new SomeOtherCheckedException(), SomeCheckedException.class);
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/io/Closer.java
Throwable e, Class<X1> declaredType1, Class<X2> declaredType2) throws IOException, X1, X2 { checkNotNull(e); thrown = e; throwIfInstanceOf(e, IOException.class); throwIfInstanceOf(e, declaredType1); throwIfInstanceOf(e, declaredType2); throwIfUnchecked(e); throw new RuntimeException(e); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Throwables.java
* * @deprecated Use {@link #throwIfInstanceOf}, which has the same behavior but rejects {@code * null}. */ @Deprecated @J2ktIncompatible @GwtIncompatible // throwIfInstanceOf public static <X extends Throwable> void propagateIfInstanceOf( @Nullable Throwable throwable, Class<X> declaredType) throws X { if (throwable != null) { throwIfInstanceOf(throwable, declaredType); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.io; import static com.google.common.base.Throwables.throwIfInstanceOf; import static com.google.common.base.Throwables.throwIfUnchecked; import static com.google.common.truth.Truth.assertThat; import com.google.common.base.MoreObjects; import com.google.common.collect.ImmutableList;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.io; import static com.google.common.base.Throwables.throwIfInstanceOf; import static com.google.common.base.Throwables.throwIfUnchecked; import static com.google.common.truth.Truth.assertThat; import com.google.common.base.MoreObjects; import com.google.common.collect.ImmutableList;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0)