- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for addException (0.14 sec)
-
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) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
pomArtifact = pomArtifact.setVersion(versionResult.getVersion()); } catch (VersionResolutionException e) { result.addException(e); throw new ArtifactDescriptorException(result); } if (!visited.add(a.getGroupId() + ':' + a.getArtifactId() + ':' + a.getBaseVersion())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
Map<String, VersionInfo> infos = new HashMap<>(); for (MetadataResult metadataResult : metadataResults) { result.addException(metadataResult.getException()); ArtifactRepository repository = metadataResult.getRequest().getRepository(); if (repository == null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java
return this; } public List<Throwable> getExceptions() { return exceptions; } public MavenExecutionResult addException(Throwable t) { exceptions.add(t); return this; } public boolean hasExceptions() { return !getExceptions().isEmpty(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
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; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
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}.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 35K bytes - Viewed (0) -
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}.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 34.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
&& recorder.hasReachedMaxLevel()) { event.getSession() .getResult() .addException( new Exception("Build failed due to log statements with a higher severity than allowed. " + "Fix the logged issues or remove flag --fail-on-severity (-fos)."));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.2K bytes - Viewed (0) -
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) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1)