public class UnsolvableVersionConflictException extends RepositoryException
Constructor and Description |
---|
UnsolvableVersionConflictException(Collection<? extends List<? extends DependencyNode>> paths)
Creates a new exception with the specified paths to conflicting nodes in the dependency graph.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends List<? extends DependencyNode>> |
getPaths()
Gets the paths leading to the conflicting dependencies.
|
Collection<String> |
getVersions()
Gets the conflicting version constraints of the dependency.
|
getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnsolvableVersionConflictException(Collection<? extends List<? extends DependencyNode>> paths)
paths
- The paths to the dependency nodes that participate in the version conflict, may be null
.public Collection<? extends List<? extends DependencyNode>> getPaths()
null
.public Collection<String> getVersions()
null
.Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.