Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ExceptionHandler (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionHandler.java

     * under the License.
     */
    package org.apache.maven.exception;
    
    /**
     * Transform an exception into useful end-user message.
     *
     * @since 3.0-alpha-3
     */
    public interface ExceptionHandler {
        ExceptionSummary handleException(Throwable e);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1023 bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorSubModulesTest.java

        @Inject
        private LifeCyclePluginAnalyzer lifeCyclePluginAnalyzer;
    
        @Inject
        private LifecycleTaskSegmentCalculator lifeCycleTaskSegmentCalculator;
    
        @Inject
        private ExceptionHandler exceptionHandler;
    
        protected String getProjectsDirectory() {
            return "src/test/projects/lifecycle-executor";
        }
    
        @Test
        void testCreation() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            MojoExecutionException mojoEx =
                    new MojoExecutionException("Error executing Jetty: Unable to establish loopback connection", ioEx);
    
            ExceptionHandler exceptionHandler = new DefaultExceptionHandler();
            ExceptionSummary exceptionSummary = exceptionHandler.handleException(mojoEx);
    
            String expectedReference = "http://cwiki.apache.org/confluence/display/MAVEN/ConnectException";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/site/apt/index.apt

     evaluate plugin parameters values during Mojo configuration,
    
     * <<<ExceptionHandler>>> component ({{{./apidocs/org/apache/maven/exception/ExceptionHandler.html}javadoc}}),
     with its <<<DefaultExceptionHandler>>> implementation
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    // CycleDetectedInPluginGraphException;
    
    /**
     * Transform an exception into useful end-user message.
     */
    @Named
    @Singleton
    public class DefaultExceptionHandler implements ExceptionHandler {
        @Override
        public ExceptionSummary handleException(Throwable exception) {
            return handle("", exception);
        }
    
        private ExceptionSummary handle(String message, Throwable exception) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

    import org.apache.maven.cling.transfer.SimplexTransferListener;
    import org.apache.maven.cling.transfer.Slf4jMavenTransferListener;
    import org.apache.maven.exception.DefaultExceptionHandler;
    import org.apache.maven.exception.ExceptionHandler;
    import org.apache.maven.exception.ExceptionSummary;
    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    import org.apache.maven.execution.ExecutionListener;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

    import org.apache.maven.di.Injector;
    import org.apache.maven.eventspy.internal.EventSpyDispatcher;
    import org.apache.maven.exception.DefaultExceptionHandler;
    import org.apache.maven.exception.ExceptionHandler;
    import org.apache.maven.exception.ExceptionSummary;
    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    import org.apache.maven.execution.ExecutionListener;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
Back to top