Class DependencyResolutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.aether.RepositoryException
org.eclipse.aether.resolution.DependencyResolutionException
All Implemented Interfaces:
Serializable

Thrown in case of a unresolvable dependencies.
See Also:
  • Constructor Details

    • DependencyResolutionException

      Creates a new exception with the specified result and cause.
      Parameters:
      result - The dependency result at the point the exception occurred, may be null.
      cause - The exception that caused this one, may be null.
    • DependencyResolutionException

      Creates a new exception with the specified result, detail message and cause.
      Parameters:
      result - The dependency result at the point the exception occurred, may be null.
      message - The detail message, may be null.
      cause - The exception that caused this one, may be null.
  • Method Details

    • getResult

      Gets the dependency result at the point the exception occurred. Despite being incomplete, callers might want to use this result to fail gracefully and continue their operation with whatever interim data has been gathered.
      Returns:
      The dependency result or null if unknown.