Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for addException (0.11 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

                    }
                } catch (InterruptedException e) {
                    rootSession.getResult().addException(e);
                    break;
                } catch (ExecutionException e) {
                    // TODO MNG-5766 changes likely made this redundant
                    rootSession.getResult().addException(e);
                    break;
                }
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 16 03:42:09 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

            return this;
        }
    
        @Override
        public List<Throwable> getExceptions() {
            return exceptions;
        }
    
        @Override
        public MavenExecutionResult addException(Throwable t) {
            exceptions.add(t);
    
            return this;
        }
    
        @Override
        public boolean hasExceptions() {
            return !getExceptions().isEmpty();
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                    } catch (FileNotFoundException | URISyntaxException e) {
                        throw new IllegalStateException("Missing test POM for " + artifact, e);
                    }
                } else {
                    result.addException(new ArtifactNotFoundException(artifact, (RemoteRepository) null));
                    throw new ArtifactResolutionException(results);
                }
            }
    
            return results;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java

        // - project building exception
        // - invalid project model exception: list of markers
        // - xmlpull parser exception
        List<Throwable> getExceptions();
    
        MavenExecutionResult addException(Throwable e);
    
        boolean hasExceptions();
    
        /**
         * Gets the build summary for the specified project.
         *
         * @param project The project to get the build summary for, must not be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java

                }
                builder.build(session, reactorContext, projectBuilds, taskSegments, reactorBuildStatus);
    
            } catch (Exception e) {
                result.addException(e);
            } finally {
                eventCatapult.fire(ExecutionEvent.Type.SessionEnded, session, null);
            }
        }
    
        private boolean buildExecutionRequiresProject(MavenSession session) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzerTest.java

            MavenProject project = createMavenProject(artifactId);
            executionResult.addBuildSummary(new BuildFailure(project, 0, new Exception()));
            executionResult.addException(new LifecycleExecutionException("", project));
            return project;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

                executor.execute(session, reactorContext, taskSegments);
    
            } catch (Exception e) {
                session.getResult().addException(e);
            } finally {
                eventCatapult.fire(ExecutionEvent.Type.SessionEnded, session, null);
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top