Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 1,002 for exception (0.09 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSessionFactory.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.impl.InternalSession;
    import org.apache.maven.rtinfo.RuntimeInformation;
    import org.eclipse.aether.RepositorySystem;
    
    @Singleton
    @Named
    public class DefaultSessionFactory {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/handling-errors.md

    一般情况下可能不会需要在代码中直接使用响应头。
    
    但对于某些高级应用场景,还是需要添加自定义响应头:
    
    {* ../../docs_src/handling_errors/tutorial002.py hl[14] *}
    
    ## 安装自定义异常处理器
    
    添加自定义处理器,要使用 [Starlette 的异常工具](https://www.starlette.dev/exceptions/)。
    
    假设要触发的自定义异常叫作 `UnicornException`。
    
    且需要 FastAPI 实现全局处理该异常。
    
    此时,可以用 `@app.exception_handler()` 添加自定义异常控制器:
    
    {* ../../docs_src/handling_errors/tutorial003.py hl[5:7,13:18,24] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ReactorBuildStatus.java

     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashSet;
    
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.lifecycle.internal.builder.BuilderCommon;
    import org.apache.maven.project.MavenProject;
    
    /**
     * Contains status information that is global to an entire reactor build.
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  4. api/maven-api-model/src/main/java/org/apache/maven/api/model/package-info.java

     *   <li>{@link org.apache.maven.api.model.Build} - Contains build configuration information</li>
     *   <li>{@link org.apache.maven.api.model.Profile} - Represents a build profile for conditional execution</li>
     * </ul>
     *
     * @since 4.0.0
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.Function;
    import java.util.stream.Collectors;
    
    import org.apache.maven.artifact.ArtifactUtils;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.project.MavenProject;
    
    /**
     * <p>
     * A list of project segments, ordered so that all ProjectSegments from first TaskSegment come before any
     * subsequent TaskSegments.
     * </p>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle;
    
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.plugin.InvalidPluginDescriptorException;
    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.plugin.MojoNotFoundException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionRequest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin.version;
    
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.project.MavenProject;
    import org.eclipse.aether.RepositorySystemSession;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/PomlessCollectionStrategy.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Arrays;
    import java.util.List;
    
    import org.apache.maven.DefaultMaven;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.model.building.ModelSource;
    import org.apache.maven.model.building.UrlModelSource;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectBuilder;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  9. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Config.java

             * System properties are initialized before the build starts and are available throughout the entire Maven
             * execution. They are used for core Maven functionality that needs to be established at startup.
             */
            SYSTEM_PROPERTIES,
            /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

    import java.util.concurrent.ConcurrentHashMap;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.Constants;
    import org.apache.maven.eventspy.AbstractEventSpy;
    import org.apache.maven.execution.ExecutionEvent;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.InputLocation;
    import org.apache.maven.plugin.PluginValidationManager;
    import org.apache.maven.plugin.descriptor.MojoDescriptor;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top