- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 161 for getCause (0.04 sec)
-
android/guava/src/com/google/common/util/concurrent/Futures.java
checkNotNull(future); try { return getUninterruptibly(future); } catch (ExecutionException wrapper) { if (wrapper.getCause() instanceof Error) { throw new ExecutionError((Error) wrapper.getCause()); } /* * It's an Exception. (Or it's a non-Error, non-Exception Throwable. From my survey of such
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
CIFSException ex = assertThrows(CIFSException.class, () -> trace.connectWrapException(loc)); assertTrue(ex.getMessage() != null && ex.getMessage().contains("Failed to connect to server")); assertSame(thrown, ex.getCause()); } @Test @DisplayName("connectWrapException: rethrows SmbException unchanged") void connectWrapException_rethrowsSmbException() throws Exception { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
actual = e; } assertNotNull("verify() should be able to cause test failure", actual); assertTrue( "AssertionError should have info about why test failed", actual.getCause().getMessage().contains(message)); } public void testMissingException() { List<Integer> emptyList = new ArrayList<>(); IteratorTester<Integer> tester = new IteratorTester<Integer>(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
} } return (List<ArtifactRepository>) repositories; } private ProjectBuildingException transformError(ProjectBuildingException e) { if (e.getCause() instanceof ModelBuildingException) { return new InvalidProjectModelException(e.getProjectId(), e.getMessage(), e.getPomFile()); } return e; } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
private Object invokeGeneratorMethod(Method generator, Object... args) { try { return generator.invoke(this, args); } catch (InvocationTargetException e) { throwIfUnchecked(e.getCause()); throw new RuntimeException(e.getCause()); } catch (Exception e) { throwIfUnchecked(e); throw new RuntimeException(e); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
*/ protected String detailedMessage(final Throwable t) { if (t == null) { return "Unknown"; } Throwable target = t; if (target.getCause() == null) { return target.getClass().getSimpleName() + "[" + target.getMessage() + "]"; } final StringBuilder sb = new StringBuilder(); while (target != null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 55.4K bytes - Viewed (1) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
try { super.insert(urlQueue, urlQueue.getId() == null ? OpType.CREATE : OpType.INDEX); } catch (final OpenSearchAccessException e) { final Throwable cause = e.getCause(); if (cause != null && "VersionConflictEngineException".equals(cause.getClass().getSimpleName())) { if (logger.isDebugEnabled()) { logger.debug("Failed to insert {}", urlQueue, e);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 16.9K bytes - Viewed (1) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
try { return clazz.getConstructor(String.class).newInstance(value); } catch (final Exception e) { final Throwable cause = e instanceof InvocationTargetException ? e.getCause() : e; throw new IllegalArgumentException(String.format(CONVERSION_ERROR, value, clazz), cause); } catch (final LinkageError e) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
// smb:// -> enumerate servers through browsing Address addr; try { addr = locator.getAddress(); } catch (final CIFSException e) { if (e.getCause() instanceof UnknownHostException) { log.debug("Failed to find master browser", e); throw new SmbUnsupportedOperationException(); } throw e;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("kaboom!"); assertTrue(service.shutDownCalled); assertEquals(Service.State.FAILED, service.state()); assertThat(expected.getCause().getSuppressed()[0]).hasMessageThat().isEqualTo("double kaboom!"); } private class ThrowOnRunService extends AbstractExecutionThreadService { private boolean shutDownCalled = false;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 12.9K bytes - Viewed (0)