- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 89 for getCause (0.05 seconds)
-
guava/src/com/google/common/base/Throwables.java
Throwable cause; while ((cause = throwable.getCause()) != null) { throwable = cause; if (throwable == slowPointer) { throw new IllegalArgumentException("Loop in causal chain detected.", throwable); } if (advanceSlowPointer) { slowPointer = slowPointer.getCause(); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java
logger.error(message); if (e != null) { logger.error(e.getMessage()); for (Throwable cause = e.getCause(); cause != null && cause != cause.getCause(); cause = cause.getCause()) { logger.error("Caused by: {}", cause.getMessage()); } } } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 10 15:02:53 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
* simply rethrow an exception (e.getCause()) that may in rare cases have come from another * thread. To accomplish both goals, we wrap that IllegalArgumentException in a new * instance. */ throw new IllegalArgumentException(e.getCause().getMessage(), e.getCause()); } /*
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java
} /** * Constructs a new {@code AbstractMojoExecutionException} exception wrapping an underlying {@code Throwable}. * * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method. * A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown. * @since 3.8.3 */ public AbstractMojoExecutionException(Throwable cause) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { Assert.assertEquals(expectedData, future.get()); } catch (ExecutionException e) { throw e.getCause(); } } /** * Verify that the listener completes in a reasonable amount of time, and Asserts that the future * throws an {@code ExecutableException} and that the cause of the {@code ExecutableException} is
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/logging/LoggingExecutionListener.java
if (status != null) { halted = status.isHalted(); } else { // assume sensible default Throwable t = projectExecutionEvent.getCause(); halted = (t instanceof RuntimeException || !(t instanceof Exception)) || !MavenExecutionRequest.REACTOR_FAIL_NEVER.equals(session.getReactorFailureBehavior())
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
import org.jspecify.annotations.Nullable; /** * {@link Error} variant of {@link java.util.concurrent.ExecutionException}. As with {@code * ExecutionException}, the error's {@linkplain #getCause() cause} comes from a failed task, * possibly run in another thread. That cause should itself be an {@code Error}; if not, use {@code * ExecutionException} or {@link UncheckedExecutionException}. This allows the client code toCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
try { method.invoke(wrapper, getParameterValues(method)); fail(method + " failed to throw exception as is."); } catch (InvocationTargetException e) { if (exception != e.getCause()) { throw new RuntimeException(e); } } catch (IllegalAccessException e) { throw new AssertionError(e); } } private static <T> void testEquals(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
return future.get(); } catch (InterruptedException e) { currentThread().interrupt(); throw newWithCause(exceptionClass, e); } catch (ExecutionException e) { wrapAndThrowExceptionOrError(e.getCause(), exceptionClass); throw new AssertionError(); } } /** Implementation of {@link Futures#getChecked(Future, Class, long, TimeUnit)}. */ @CanIgnoreReturnValue @ParametricNullness
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
try { String result = Uninterruptibles.getUninterruptibly(currentFuture.get()); finalResults.add(result); } catch (ExecutionException e) { finalResults.add(e.getCause()); } catch (CancellationException e) { finalResults.add(CancellationException.class); } finally { awaitUnchecked(barrier); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 46.8K bytes - Click Count (0)