Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for addException (0.07 seconds)

  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;
                }
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 16 03:42:09 GMT 2025
    - 8.9K bytes
    - Click Count (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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/MoreFiles.java

              dir.deleteDirectory(path);
            }
          } else {
            dir.deleteFile(path);
          }
    
          return exceptions;
        } catch (IOException e) {
          return addException(exceptions, e);
        }
      }
    
      /**
       * Secure method for deleting the contents of a directory using {@code SecureDirectoryStream}.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  4. 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);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

            void execute() {
                try (var phase = executor.phase()) {
                    plan();
                    executePlan();
                } catch (Exception e) {
                    session.getResult().addException(e);
                }
            }
    
            @Override
            public void close() {
                this.executor.close();
            }
    
            /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            try {
                versionConstraint =
                        versionScheme.parseVersionConstraint(request.getArtifact().getVersion());
            } catch (InvalidVersionSpecificationException e) {
                result.addException(e);
                throw new VersionRangeResolutionException(result);
            }
    
            result.setVersionConstraint(versionConstraint);
    
            if (versionConstraint.getRange() == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            }
        }
    
        private MavenExecutionResult addExceptionToResult(MavenExecutionResult result, Throwable e) {
            if (!result.getExceptions().contains(e)) {
                result.addException(e);
            }
    
            return result;
        }
    
        private void validatePrerequisitesForNonMavenPluginProjects(List<MavenProject> projects) {
            for (MavenProject mavenProject : projects) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
Back to Top