Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ExceptionSummary (0.14 sec)

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

     * </ul>
     */
    public class ExceptionSummary {
    
        private Throwable exception;
    
        private String message;
    
        private String reference;
    
        private List<ExceptionSummary> children;
    
        public ExceptionSummary(Throwable exception, String message, String reference) {
            this(exception, message, reference, null);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            ExceptionHandler exceptionHandler = new DefaultExceptionHandler();
            ExceptionSummary exceptionSummary = exceptionHandler.handleException(mojoEx);
    
            String expectedReference = "http://cwiki.apache.org/confluence/display/MAVEN/ConnectException";
            assertEquals(expectedReference, exceptionSummary.getReference());
        }
    
        @Test
        void testHandleExceptionAetherClassNotFound() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 10:31:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            }
    
            return new ExceptionSummary(exception, message, reference, children);
        }
    
        private ExceptionSummary handle(ProjectBuildingResult result) {
            List<ExceptionSummary> children = new ArrayList<>();
    
            for (ModelProblem problem : result.getProblems()) {
                ExceptionSummary child = handle(problem, result.getProjectId());
                if (child != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 10:31:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 1023 bytes
    - Viewed (0)
  5. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

    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;
    import org.apache.maven.execution.MavenExecutionRequest;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
Back to top