- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 32 for addSuppressed (1.66 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
) } return response } catch (e: IOException) { if (sendRequestException != null) { sendRequestException.addSuppressed(e) throw sendRequestException } throw e } } private fun shouldIgnoreAndWaitForRealResponse(code: Int): Boolean = when {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 13:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
try { th.send(new Smb2CloseRequest(th.getConfig(), cr.getFileId())); } catch (final SmbException e2) { e.addSuppressed(e2); } } final Smb2QueryDirectoryResponse qr = query.getResponse(); if (qr != null && qr.isReceived() && qr.getStatus() == NtStatus.NT_STATUS_NO_SUCH_FILE) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K 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 } @Throws(Exception::class) private fun readResponse( hostname: String, response: Response, ): List<InetAddress> {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
try { shutDown(); } catch (Exception ignored) { restoreInterruptIfIsInterruptedException(ignored); t.addSuppressed(ignored); } notifyFailed(t); return; } } shutDown(); notifyStopped();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
RuntimeCIFSException mainException = new RuntimeCIFSException("Main error"); RuntimeException suppressedException = new RuntimeException("Suppressed error"); // When mainException.addSuppressed(suppressedException); // Then Throwable[] suppressed = mainException.getSuppressed(); assertEquals(1, suppressed.length); assertEquals(suppressedException, suppressed[0]); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
try { shutDown(); } catch (Exception ignored) { restoreInterruptIfIsInterruptedException(ignored); t.addSuppressed(ignored); } notifyFailed(t); return; } } shutDown(); notifyStopped();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
IllegalStateException mavenDiFailed = new IllegalStateException( "Maven dependency injection failed for at least one of the registered core extension"); failures.forEach(mavenDiFailed::addSuppressed); throw mavenDiFailed; } container.getLoggerManager().setThresholds(toPlexusLoggingLevel(context.loggerLevel)); customizeContainer(context, container);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
} catch (final IOException ioe) { log.warn("sendrecv failed", ioe); try { disconnect(true); } catch (final IOException ioe2) { ioe.addSuppressed(ioe2); log.info("disconnect failed", ioe2); } throw ioe; } catch (final InterruptedException ie) { throw new TransportException(ie); } finally {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/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 Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0)