- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 210 for getCauses (0.17 seconds)
-
guava-testlib/src/com/google/common/testing/NullPointerTester.java
+ " from " + invokable + Arrays.toString(params) + " for " + testedClass); } catch (InvocationTargetException e) { Throwable cause = e.getCause(); if (policy.isExpectedType(cause)) { return; } throw new AssertionError( String.format(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
try { req.execute(); fail("Should throw CurlException"); } catch (CurlException e) { assertTrue(e.getMessage().contains("Failed to")); assertNotNull(e.getCause()); } } @Test public void test_ConnectException_ViaExceptionListener() throws Exception { // ## Arrange ##Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
started.countDown(); try { return method.invoke(delegate, args); } catch (InvocationTargetException e) { throw e.getCause(); } finally { awaitUninterruptibly(canReturn); returned.countDown(); } } });
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* exist but throw, so we propagate anything that's thrown, presumably an unchecked Exception * or Error. */ throwIfUnchecked(e.getCause()); throw new AssertionError(e.getCause()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
started.countDown(); try { return method.invoke(delegate, args); } catch (InvocationTargetException e) { throw e.getCause(); } finally { awaitUninterruptibly(canReturn); returned.countDown(); } } });
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
try (final InputStream is = new BufferedInputStream(responseData.getResponseBody())) { out.write(is); } catch (final IOException e) { if (!(e.getCause() instanceof ClientAbortException)) { throw new FessSystemException("Failed to write a content. configId: " + configId + ", url: " + url, e); } } finally {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 52.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
throw new RuntimeException("Couldn't invoke ThreadManager.currentRequestThreadFactory", e); } catch (InvocationTargetException e) { // `currentRequestThreadFactory` has no `throws` clause. throw sneakyThrow(e.getCause()); } } @J2ktIncompatible @GwtIncompatible // TODO private static boolean isAppEngineWithApiClasses() { if (System.getProperty("com.google.appengine.runtime.environment") == null) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 45.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
// requireNonNull is safe because ExampleStackTrace sets a non-null message. StringBuilder message = new StringBuilder(requireNonNull(super.getMessage())); for (Throwable t = conflictingStackTrace; t != null; t = t.getCause()) { message.append(", ").append(t.getMessage()); } return message.toString(); } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
} } // at this point e is either null or expired; return lockedGetOrLoad(key, hash, loader); } catch (ExecutionException ee) { Throwable cause = ee.getCause(); if (cause instanceof Error) { throw new ExecutionError((Error) cause); } else if (cause instanceof RuntimeException) { throw new UncheckedExecutionException(cause); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
} } // at this point e is either null or expired; return lockedGetOrLoad(key, hash, loader); } catch (ExecutionException ee) { Throwable cause = ee.getCause(); if (cause instanceof Error) { throw new ExecutionError((Error) cause); } else if (cause instanceof RuntimeException) { throw new UncheckedExecutionException(cause); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0)