Class UnsolvableVersionConflictException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<? extends java.util.List<? extends DependencyNode>> getPaths()
      Gets the paths leading to the conflicting dependencies.
      java.util.Collection<java.lang.String> getVersions()
      Gets the conflicting version constraints of the dependency.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UnsolvableVersionConflictException

        public UnsolvableVersionConflictException​(java.lang.String message,
                                                  java.util.Collection<? extends java.util.List<? extends DependencyNode>> paths)
        Creates a new exception with the specified paths to conflicting nodes in the dependency graph.
        Parameters:
        message - The strategy that throw the bucket in, must not be null. Should provide concise message why this exception was thrown.
        paths - The paths to the dependency nodes that participate in the version conflict, may be null.
        Since:
        2.0.0
    • Method Detail

      • getPaths

        public java.util.Collection<? extends java.util.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 java.util.Collection<java.lang.String> getVersions()
        Gets the conflicting version constraints of the dependency.
        Returns:
        The (read-only) conflicting version constraints, never null.