- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 34 for addSuppressed (0.06 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
} else { failure = new LifecycleExecutionException("Error building project"); failures.forEach(failure::addSuppressed); } handleBuildError(reactorContext, session, step.project, failure); } else if (allStepsExecuted) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt
} } return plan.handleSuccess() } catch (e: IOException) { if (firstException == null) { firstException = e } else { firstException.addSuppressed(e) } if (!routePlanner.hasNext()) { throw firstException } } } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
assertNull(exception.getCause()); // Test that suppression is enabled RuntimeException suppressed = new RuntimeException("Suppressed exception"); exception.addSuppressed(suppressed); assertEquals(1, exception.getSuppressed().length); assertEquals(suppressed, exception.getSuppressed()[0]); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
logger.log(Level.INFO, "exception thrown during tearDown", t); } else { if (exception == null) { exception = t; } else { exception.addSuppressed(t); } } } } if (exception != null) { throwIfUnchecked(exception); throw new RuntimeException("failure during tearDown", exception); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
logger.log(Level.INFO, "exception thrown during tearDown", t); } else { if (exception == null) { exception = t; } else { exception.addSuppressed(t); } } } } if (exception != null) { throwIfUnchecked(exception); throw new RuntimeException("failure during tearDown", exception); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 2.7K bytes - Click Count (0) -
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 {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 7.6K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (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();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 7.2K bytes - Click Count (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]); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
if (throwable != null) { if (throwable !is IOException) throw throwable if (firstException == null) { firstException = throwable } else { firstException.addSuppressed(throwable) } } val nextPlan = connectResult.nextPlan if (nextPlan != null) { // Try this plan's successor before deferred plans because it won the race!
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.8K bytes - Click Count (0)