- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 162 for getCauses (0.05 sec)
-
android/guava/src/com/google/common/cache/RemovalNotification.java
super(key, value); this.cause = checkNotNull(cause); } /** Returns the cause for which the entry was removed. */ public RemovalCause getCause() { return cause; } /** * Returns {@code true} if there was an automatic removal due to eviction (the cause is neither * {@link RemovalCause#EXPLICIT} nor {@link RemovalCause#REPLACED}). */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 2.5K bytes - Viewed (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); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
assertNotNull(result); } catch (Exception e) { // Expected behavior when components are not fully initialized Throwable cause = e.getCause(); assertNotNull(cause); } } catch (Exception e) { // Test setup exception is acceptable assertNotNull(e); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
assertThrows( InvocationTargetException.class, () -> checkArgumentMethod.invoke(null /* static method */, failingParams)); assertFailureCause(ite.getCause(), IllegalArgumentException.class, failingParams); } } @GwtIncompatible("Reflection") @J2ktIncompatible public void testAllOverloads_checkState() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
assertThrows( InvocationTargetException.class, () -> checkArgumentMethod.invoke(null /* static method */, failingParams)); assertFailureCause(ite.getCause(), IllegalArgumentException.class, failingParams); } } @GwtIncompatible("Reflection") @J2ktIncompatible public void testAllOverloads_checkState() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (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) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
exec.execute(task); runLatch.await(); taskLatch.countDown(); ExecutionException e = assertThrows(ExecutionException.class, () -> task.get(5, SECONDS)); assertEquals(IllegalStateException.class, e.getCause().getClass()); assertTrue(listenerLatch.await(5, SECONDS)); assertTrue(task.isDone()); assertFalse(task.isCancelled()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.8K bytes - Viewed (0) -
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); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
ListenableFuture<String> chain = buildChainingFuture(badInput); ExecutionException e = assertThrows(ExecutionException.class, () -> chain.get()); assertSame(RuntimeException.class, e.getCause().getClass()); } /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */ public static class BadFuture extends SimpleForwardingListenableFuture<Integer> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
ListenableFuture<String> chain = buildChainingFuture(badInput); ExecutionException e = assertThrows(ExecutionException.class, () -> chain.get()); assertSame(RuntimeException.class, e.getCause().getClass()); } /** Proxy to throw a {@link RuntimeException} out of the {@link #get()} method. */ public static class BadFuture extends SimpleForwardingListenableFuture<Integer> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.3K bytes - Viewed (0)