- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for VerifyException (0.49 sec)
-
guava/src/com/google/common/base/VerifyException.java
@GwtCompatible @ElementTypesAreNonnullByDefault public class VerifyException extends RuntimeException { /** Constructs a {@code VerifyException} with no message. */ public VerifyException() {} /** Constructs a {@code VerifyException} with the message {@code message}. */ public VerifyException(@CheckForNull String message) { super(message); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/VerifyException.java
@GwtCompatible @ElementTypesAreNonnullByDefault public class VerifyException extends RuntimeException { /** Constructs a {@code VerifyException} with no message. */ public VerifyException() {} /** Constructs a {@code VerifyException} with the message {@code message}. */ public VerifyException(@CheckForNull String message) { super(message); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Verify.java
/** * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no * message otherwise. * * @throws VerifyException if {@code expression} is {@code false} * @see Preconditions#checkState Preconditions.checkState() */ public static void verify(boolean expression) { if (!expression) { throw new VerifyException(); } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 18.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
/** * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no * message otherwise. * * @throws VerifyException if {@code expression} is {@code false} * @see Preconditions#checkState Preconditions.checkState() */ public static void verify(boolean expression) { if (!expression) { throw new VerifyException(); } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon May 17 14:07:47 UTC 2021 - 18.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/VerifyTest.java
verify(true); } public void testVerify_simple_failure() { assertThrows(VerifyException.class, () -> verify(false)); } public void testVerify_simpleMessage_success() { verify(true, "message"); } public void testVerify_simpleMessage_failure() { VerifyException expected = assertThrows(VerifyException.class, () -> verify(false, "message")); assertThat(expected).hasMessageThat().isEqualTo("message");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/VerifyTest.java
verify(true); } public void testVerify_simple_failure() { assertThrows(VerifyException.class, () -> verify(false)); } public void testVerify_simpleMessage_success() { verify(true, "message"); } public void testVerify_simpleMessage_failure() { VerifyException expected = assertThrows(VerifyException.class, () -> verify(false, "message")); assertThat(expected).hasMessageThat().isEqualTo("message");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
.put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException) .put(VerifyException.class, e -> e instanceof VerifyException) .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions()) .buildOrThrow(); private ReflectionFreeAssertThrows() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java
.put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException) .put(VerifyException.class, e -> e instanceof VerifyException) .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions()) .buildOrThrow(); private ReflectionFreeAssertThrows() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 22 13:49:09 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReflectionFreeAssertThrows.java
.put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException) .put(VerifyException.class, e -> e instanceof VerifyException) .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions()) .buildOrThrow(); private ReflectionFreeAssertThrows() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java
.put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException) .put(VerifyException.class, e -> e instanceof VerifyException) .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions()) .buildOrThrow(); private ReflectionFreeAssertThrows() {}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 6.3K bytes - Viewed (0)