- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 210 for getCauses (0.07 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
checkMessage(expected, "LockB -> LockA", "LockA -> LockB"); // The causal chain should be cached. assertThat(expected.getCause()).isEqualTo(firstException.getCause()); // lockA should work after lockB is released. lockB.unlock(); lockA.lock(); } // Tests transitive deadlock detection. public void testDeadlock_threeLocks() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
checkMessage(expected, "LockB -> LockA", "LockA -> LockB"); // The causal chain should be cached. assertThat(expected.getCause()).isEqualTo(firstException.getCause()); // lockA should work after lockB is released. lockB.unlock(); lockA.lock(); } // Tests transitive deadlock detection. public void testDeadlock_threeLocks() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractLoadingCache.java
@Override public V getUnchecked(K key) { try { return get(key); } catch (ExecutionException e) { throw new UncheckedExecutionException(e.getCause()); } } @Override public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException { Map<K, V> result = new LinkedHashMap<>(); for (K key : keys) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 2.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java
} /** * Constructs a new {@code MojoExecutionException} 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. */ public MojoException(Throwable cause) { super(cause); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon May 13 09:53:45 GMT 2024 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java
return project; } public MojoExecution getExecution() { return mojoExecution; } public Mojo getMojo() { return mojo; } public Throwable getCause() { return cause; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java
} public MavenProject getProject() { return project; } public List<MojoExecution> getExecutionPlan() { return executionPlan; } public Throwable getCause() { return cause; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
import org.jspecify.annotations.Nullable; /** * Unchecked variant of {@link java.util.concurrent.ExecutionException}. As with {@code * ExecutionException}, the exception's {@linkplain #getCause() cause} comes from a failed task, * possibly run in another thread. * * <p>{@code UncheckedExecutionException} is intended as an alternative to {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcErrorTest.java
// Test with root cause Exception rootCause = new Exception("Root cause"); DcerpcException ex3 = new DcerpcException("Error with cause", rootCause); assertEquals(rootCause, ex3.getCause()); } @Test @DisplayName("Should verify error message lookup for known fault codes") void testErrorMessageLookup() { // Test message lookup using DcerpcException's static methodCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java
* by the {@link #getMessage()} method). * @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. */ public InterpolatorException(String message, Throwable cause) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 2.6K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java
} /** * Constructs a new {@code MojoExecutionException} 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 MojoExecutionException(Throwable cause) { super(cause);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0)