Class UnsolvableVersionConflictException

    • Constructor Detail

      • UnsolvableVersionConflictException

        public UnsolvableVersionConflictException​(Collection<? extends List<? extends DependencyNode>> paths)
        Creates a new exception with the specified paths to conflicting nodes in the dependency graph.
        Parameters:
        paths - The paths to the dependency nodes that participate in the version conflict, may be null.
    • Method Detail

      • getPaths

        public Collection<? extends List<? extends DependencyNode>> getPaths()
        Gets the paths leading to the conflicting dependencies.
        Returns:
        The (read-only) paths leading to the conflicting dependencies, never null.
      • getVersions

        public Collection<StringgetVersions()
        Gets the conflicting version constraints of the dependency.
        Returns:
        The (read-only) conflicting version constraints, never null.