- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 1,529 for exception (0.1 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java
List<PluginExecution> executions = plugin.getExecutions(); PluginExecution execution = executions.get(0); String g0 = execution.getGoals().get(0); assertEquals("plexus:runtime", g0); configuration = execution.getDelegate().getConfiguration(); assertEquals( "ContinuumPro", configuration.child("plexusApplicationName").value());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java
class ComparableVersionIT { @Test void test() throws Exception { Files.walkFileTree(Paths.get("target"), new SimpleFileVisitor<Path>() { Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar"); @Override public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException { String filename = file.getFileName().toString();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java
* under the License. */ package org.apache.maven.plugin.internal; import java.util.concurrent.CountDownLatch; import org.apache.maven.execution.DefaultMavenExecutionRequest; import org.apache.maven.execution.MavenExecutionRequest; import org.apache.maven.execution.MavenSession; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNull; /** */ class DefaultLegacySupportTest {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
docs_src/dependencies/tutorial008b_py39.py
app = FastAPI() data = { "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"}, "portal-gun": {"description": "Gun to create portals", "owner": "Rick"}, } class OwnerError(Exception): pass def get_username(): try: yield "Rick" except OwnerError as e: raise HTTPException(status_code=400, detail=f"Owner error: {e}") @app.get("/items/{item_id}")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 735 bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java
} /** * Tests that the ordering of the map resembles the ordering of the input collection of artifacts. */ @Test void testArtifactMapByVersionlessIdOrdering() throws Exception { List<Artifact> list = new ArrayList<>(); list.add(newArtifact("b")); list.add(newArtifact("a")); list.add(newArtifact("c")); list.add(newArtifact("e"));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java
// // p4 ---> p3 ---> p2 ---> p1 ---> p0 --> super model // // ---------------------------------------------------------------------- @Test void testProjectInheritance() throws Exception { MavenProject p4 = getProject(projectFile("p4")); assertEquals("p4", p4.getName()); // ---------------------------------------------------------------------- // Value inherited from p3Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java
/** * Gets the identifier of the project that could not be built. The general format of the identifier is {@code * <groupId>:<artifactId>:<version>} but some of these coordinates may still be unknown at the point the exception * is thrown so this information is merely meant to assist the user. * * @return the identifier of the project or an empty string if not known, never {@code null} */ @NonnullCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 2.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/BiMap.java
/** * {@inheritDoc} * * @throws IllegalArgumentException if the given value is already bound to a different key in this * bimap. The bimap will remain unmodified in this event. To avoid this exception, call {@link * #forcePut} instead. */ @CanIgnoreReturnValue @Override @Nullable V put(@ParametricNullness K key, @ParametricNullness V value); /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.2K bytes - Click Count (0) -
docs_src/handling_errors/tutorial003_py39.py
from fastapi import FastAPI, Request from fastapi.responses import JSONResponse class UnicornException(Exception): def __init__(self, name: str): self.name = name app = FastAPI() @app.exception_handler(UnicornException) async def unicorn_exception_handler(request: Request, exc: UnicornException): return JSONResponse( status_code=418,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 626 bytes - Click Count (0)