- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for addSuppressed (0.12 sec)
-
android/guava/src/com/google/common/io/Closer.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/io/Closer.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
catch ( IOException ioe ) { log.warn("sendrecv failed", ioe); try { disconnect(true); } catch ( IOException ioe2 ) { ioe.addSuppressed(ioe2); log.info("disconnect failed", ioe2); } throw ioe; } catch ( InterruptedException ie ) { throw new TransportException(ie); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 01 18:12:21 UTC 2020 - 24.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
*/ private void assertSuppressed(Suppression... expected) { assertEquals(ImmutableList.copyOf(expected), suppressor.suppressions); } // TODO(cpovirk): Just use addSuppressed+getSuppressed now that we can rely on it. /** Suppressor that records suppressions. */ private static class TestSuppressor implements Closer.Suppressor {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
*/ private void assertSuppressed(Suppression... expected) { assertEquals(ImmutableList.copyOf(expected), suppressor.suppressions); } // TODO(cpovirk): Just use addSuppressed+getSuppressed now that we can rely on it. /** Suppressor that records suppressions. */ private static class TestSuppressor implements Closer.Suppressor {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.8K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
throw failure } val unknownHostException = UnknownHostException(hostname) unknownHostException.initCause(failure) for (i in 1 until failures.size) { unknownHostException.addSuppressed(failures[i]) } throw unknownHostException } private fun getCacheOnlyResponse(request: Request): Response? { if (client.cache != null) { try {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Oct 31 09:27:31 UTC 2024 - 9.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 17.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
internal fun <E> MutableList<E>.addIfAbsent(element: E) { if (!contains(element)) add(element) } internal fun Exception.withSuppressed(suppressed: List<Exception>): Throwable = apply { for (e in suppressed) addSuppressed(e) } internal inline fun <T> Iterable<T>.filterList(predicate: T.() -> Boolean): List<T> { var result: List<T> = emptyList() for (i in this) { if (predicate(i)) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 11K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
try { transport.disconnect(true); } catch ( IOException e ) { log.warn("Failed to disconnect transport", e); se.addSuppressed(e); } throw se; } } /** * @param trans * @param sess * @throws CIFSException * */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 29.6K bytes - Viewed (0)