Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ExceptionSummary (0.11 sec)

  1. 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)
  2. 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)
Back to top