- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 184 for Cause (0.18 sec)
-
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
*/ public ExecutionError(@CheckForNull String message, @CheckForNull Error cause) { super(message, cause); } /** * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to * provide a non-nullable {@code cause}, as many users expect to find one. */ public ExecutionError(@CheckForNull Error cause) { super(cause); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Mar 07 17:52:19 GMT 2024 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/cache/RemovalNotification.java
return new RemovalNotification<>(key, value, cause); } private RemovalNotification(@CheckForNull K key, @CheckForNull V value, RemovalCause cause) { super(key, value); this.cause = checkNotNull(cause); } /** Returns the cause for which the entry was removed. */ public RemovalCause getCause() { return cause; } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Feb 01 20:46:24 GMT 2022 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/base/VerifyException.java
* Constructs a {@code VerifyException} with the cause {@code cause} and a message that is {@code * null} if {@code cause} is null, and {@code cause.toString()} otherwise. * * @since 19.0 */ public VerifyException(@CheckForNull Throwable cause) { super(cause); } /** * Constructs a {@code VerifyException} with the message {@code message} and the cause {@code * cause}. * * @since 19.0 */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/VerifyException.java
* Constructs a {@code VerifyException} with the cause {@code cause} and a message that is {@code * null} if {@code cause} is null, and {@code cause.toString()} otherwise. * * @since 19.0 */ public VerifyException(@CheckForNull Throwable cause) { super(cause); } /** * Constructs a {@code VerifyException} with the message {@code message} and the cause {@code * cause}. * * @since 19.0 */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
*/ protected final void notifyFailed(Throwable cause) { checkNotNull(cause); monitor.enter(); try { State previous = state(); switch (previous) { case NEW: case TERMINATED: throw new IllegalStateException("Failed while in state:" + previous, cause); case RUNNING: case STARTING: case STOPPING:
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 20.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* * <ul> * <li>Any {@link ExecutionException} has its <i>cause</i> wrapped in an {@code X} if the cause * is a checked exception, an {@link UncheckedExecutionException} if the cause is a {@code * RuntimeException}, or an {@link ExecutionError} if the cause is an {@code Error}. * <li>Any {@link InterruptedException} is wrapped in an {@code X} (after restoring the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 59.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
NPE_IAE_OR_UOE() { @Override public boolean isExpectedType(Throwable cause) { return cause instanceof NullPointerException || cause instanceof IllegalArgumentException || cause instanceof UnsupportedOperationException; } }; public abstract boolean isExpectedType(Throwable cause); } private static boolean annotatedTypeExists() { try {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 23.3K bytes - Viewed (0) -
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java
* the License. */ package com.google.common.util.concurrent.internal; /** * A future that, if it fails, may <i>optionally</i> provide access to the cause of the failure. * * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from * this optimization, so there is no need to specialize methods to return or accept this type
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
assertThat(expected).hasCauseThat().isEqualTo(cause); Object newValue = new Object(); valueRef.set(newValue); assertSame(newValue, cache.getUnchecked(new Object())); } public void testGetUnchecked_unchecked() { final RuntimeException cause = new RuntimeException(); final AtomicReference<Object> valueRef = new AtomicReference<>(); LoadingCache<Object, Object> cache =
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
assertSame(cause, Throwables.getRootCause(exception)); } public void testGetRootCause_Loop() { Exception cause = new Exception(); Exception exception = new Exception(cause); cause.initCause(exception); try { Throwables.getRootCause(cause); fail("Should have throw IAE"); } catch (IllegalArgumentException expected) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.6K bytes - Viewed (0)