- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 22 for addSuppressed (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java
} } if (!exceptions.isEmpty()) { InvokerException exception = new InvokerException("Could not cleanly shut down context pool"); exceptions.forEach(exception::addSuppressed); throw exception; } } @Override protected MavenContext createContext(InvokerRequest invokerRequest) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 4.1K bytes - Click Count (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);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 14.3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.8K bytes - Click Count (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 {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.9K bytes - Click Count (0) -
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) -
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) -
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)