- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 1,188 for Exception (0.06 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java
public void testFinishToFuture_throwsIfCalledTwice() throws Exception { ClosingFuture<Closeable> closingFuture = ClosingFuture.submit( new ClosingCallable<Closeable>() { @Override public Closeable call(DeferredCloser closer) throws Exception { return closer.eventuallyClose(mockCloseable, executor); } },
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
protected ListenableFuture<Boolean> future; @Override protected void setUp() throws Exception { // Create a latch and a future that waits on the latch. latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception { // Make sure we have no waiting threads. latch.countDown(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
/* * (non-Javadoc) * @see junit.framework.TestCase#setUp() */ @BeforeEach public void setUp() throws Exception { properties = new MavenProperties(); properties.load(new StringReader(TEST_PROPERTIES)); } @Test public void testSpaces() throws Exception { String config = "\n" + "\n" + " \n" + " \n"Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 16.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java
import org.apache.maven.api.services.Request; import org.apache.maven.api.services.Result; /** * Exception thrown when a batch request operation fails. This exception contains the results * of all requests that were attempted, including both successful and failed operations. * <p> * The exception provides access to detailed results through {@link #getResults()}, allowingCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java
} @Test void testOneProblem() { ProblemCollector problemCollector = ProblemCollectorFactory.newInstance(null); problemCollector.add(Problem.Severity.ERROR, "MESSAGE", 3, 5, new Exception()); ToolchainsBuildingException e = new ToolchainsBuildingException(problemCollector.getProblems()); assertEquals( "1 problem was encountered while building the effective toolchains" + LSCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 26 19:31:34 GMT 2025 - 3.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 10 15:02:53 GMT 2025 - 2.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManagerException.java
/** * The Exception class throw by the {@link ToolchainManager}. * * @since 4.0.0 */ @Experimental public class ToolchainManagerException extends MavenException { /** * @param message the message to give * @param e the {@link Exception} */ public ToolchainManagerException(String message, Exception e) { super(message, e); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 1.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
class DependencyInferenceTests { @Test @DisplayName("should remove dependency version for project artifact") void shouldRemoveDependencyVersionForProjectArtifact() throws Exception { String parentPomXml = PomBuilder.create() .namespace("http://maven.apache.org/POM/4.1.0") .modelVersion("4.1.0") .groupId("com.example")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 35.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java
@Override protected String getProjectsDirectory() { return "src/test/projects/default-maven"; } @Test void testEnsureResolverSessionHasMavenWorkspaceReader() throws Exception { WsrClassCatcher wsrClassCatcher = (WsrClassCatcher) getContainer().lookup(AbstractMavenLifecycleParticipant.class, "WsrClassCatcher"); Maven maven = getContainer().lookup(Maven.class);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0)