- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 154 for getCauses (0.04 sec)
-
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/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java
Object returnValue = method.invoke(delegate, args); mutateDelegate(); return returnValue; } catch (InvocationTargetException e) { throw e.getCause(); } catch (IllegalAccessException e) { throw new AssertionError(e); } } private void mutateDelegate() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
} catch (JobProcessingException e) { assertTrue(e.getMessage().contains("Failed to execute a crawl job")); assertNotNull(e.getCause()); assertEquals("Test exception", e.getCause().getMessage()); } } // Test execute with JobProcessingException in executeCrawler public void test_execute_executeCrawlerThrowsJobProcessingException() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
}); assertTrue(exception.getMessage().contains("Unsupported OEM encoding"), "Exception should mention unsupported encoding"); assertTrue(exception.getCause() instanceof UnsupportedEncodingException, "Cause should be UnsupportedEncodingException"); } } @Nested @DisplayName("Unicode Decoding Tests") class UnicodeDecodingTests {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
*/ protected static IOException seToIoe(final SmbException se) { IOException ioe = se; Throwable root = se.getCause(); if (root instanceof TransportException) { ioe = (TransportException) root; root = ioe.getCause(); } if (root instanceof InterruptedException) { ioe = new InterruptedIOException(root.getMessage());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
// We use getUninterruptibly over getDone as a micro-optimization, we know the future is done. collectOneValue(index, getUninterruptibly(future)); } catch (ExecutionException e) { handleException(e.getCause()); } catch (Throwable t) { // sneaky checked exception handleException(t); } } private void decrementCountAndMaybeComplete(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 16K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
// retrying make no sense, as it will never become available again. if (params.contains(RequestParam.NO_RETRY) || !(smbe.getCause() instanceof TransportException) && smbe.getNtStatus() != NtStatus.NT_STATUS_INVALID_PARAMETER) { log.debug("Not retrying", smbe); throw smbe; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
Exception ex = assertThrows(Exception.class, handle::getSessionKey); assertTrue( ex.getMessage().contains("session fail") || (ex.getCause() != null && ex.getCause().getMessage().contains("session fail"))); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
assertTrue("setUp should have run", setUpRan.get()); try { return method.invoke(map, args); } catch (InvocationTargetException e) { throw e.getCause(); } catch (IllegalAccessException e) { throw newLinkageError(e); } } } /** Verifies that {@code setUp} and {@code tearDown} are called in all map test cases. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0)