- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 130 for getCause (0.13 sec)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/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()); } } } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java
new ClUnsupportedOperationException("hoge", new NullPointerException()); assertThat(clUnsupportedOperationException.getMessage(), is("hoge")); assertThat(clUnsupportedOperationException.getCause(), instanceOf(NullPointerException.class)); } /** * Test method for * {@link org.codelibs.core.exception.ClUnsupportedOperationException#SUnsupportedOperationException(java.lang.Throwable)} * .
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java
throw responseManager.new400("Unsupported request type."); } return actionResponse; } catch (final SsoMessageException e) { if (e.getCause() == null) { if (logger.isDebugEnabled()) { logger.debug("Metadata response.", e); } saveInfo(e.getMessageCode()); } else {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
WrapperException(Throwable t) { super(t); } } private static void rethrow(ExecutionException e) throws ExecutionException { Throwable wrapper = e.getCause(); if (wrapper instanceof WrapperException) { Throwable cause = wrapper.getCause(); if (cause instanceof RuntimeException) { throw (RuntimeException) cause; } else if (cause instanceof Error) { throw (Error) cause; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0) -
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(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 20.7K bytes - Viewed (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()); } /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 10.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java
}; client.setAccessTimeout(1); try { client.doGet("http://localhost/"); fail(); } catch (CrawlingAccessException e) { assertTrue(e.getCause() instanceof InterruptedException); } } public void test_doHead_accessTimeoutTarget() { HcHttpClient client = new HcHttpClient() { @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu May 09 09:28:25 UTC 2024 - 8.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
import javax.annotation.CheckForNull; /** * {@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 to
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 07 17:52:19 UTC 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
assertTrue(future.isDone()); assertNull(tryInternalFastPathGetFailure(future)); CancellationException e = assertThrows(CancellationException.class, () -> future.get()); assertNotNull(e.getCause()); } public void testCancel_notDoneInterrupt() throws Exception { Future<?> future = newFutureInstance(); assertTrue(future.cancel(true)); assertTrue(future.isCancelled());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 6.1K bytes - Viewed (0)