- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for SomeError (0.09 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
.put(RuntimeException.class, e -> e instanceof RuntimeException) .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException) .put(SomeError.class, e -> e instanceof SomeError) .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException) .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
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/ThrowablesTest.java
// We're testing that the method is in fact equivalent to throwing the exception directly. @SuppressWarnings("ThrowIfUncheckedKnownUnchecked") public void testThrowIfUnchecked_error() { assertThrows(SomeError.class, () -> throwIfUnchecked(new SomeError())); } @SuppressWarnings("ThrowIfUncheckedKnownChecked") public void testThrowIfUnchecked_checked() { throwIfUnchecked(new SomeCheckedException()); } @J2ktIncompatible
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-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java
package com.google.common.collect.testing.testers; import com.google.common.annotations.GwtCompatible; /** Exception classes for use in tests. */ @GwtCompatible final class TestExceptions { static final class SomeError extends Error {} static final class SomeCheckedException extends Exception {} static final class SomeOtherCheckedException extends Exception {} static final class YetAnotherCheckedException extends Exception {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
.put(RuntimeException.class, e -> e instanceof RuntimeException) .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException) .put(SomeError.class, e -> e instanceof SomeError) .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException) .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java
.put(RuntimeException.class, e -> e instanceof RuntimeException) .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException) .put(SomeError.class, e -> e instanceof SomeError) .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException) .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
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(RuntimeException.class, e -> e instanceof RuntimeException) .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException) .put(SomeError.class, e -> e instanceof SomeError) .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException) .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
// We're testing that the method is in fact equivalent to throwing the exception directly. @SuppressWarnings("ThrowIfUncheckedKnownUnchecked") public void testThrowIfUnchecked_error() { assertThrows(SomeError.class, () -> throwIfUnchecked(new SomeError())); } @SuppressWarnings("ThrowIfUncheckedKnownChecked") public void testThrowIfUnchecked_checked() { throwIfUnchecked(new SomeCheckedException()); } @J2ktIncompatible
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-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java
package com.google.common.collect.testing.testers; import com.google.common.annotations.GwtCompatible; /** Exception classes for use in tests. */ @GwtCompatible final class TestExceptions { static final class SomeError extends Error {} static final class SomeCheckedException extends Exception {} static final class SomeOtherCheckedException extends Exception {} static final class YetAnotherCheckedException extends Exception {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 1.3K bytes - Viewed (0)