public class DependencyResolutionException extends RepositoryException
Constructor and Description |
---|
DependencyResolutionException(DependencyResult result,
String message,
Throwable cause)
Creates a new exception with the specified result, detail message and cause.
|
DependencyResolutionException(DependencyResult result,
Throwable cause)
Creates a new exception with the specified result and cause.
|
Modifier and Type | Method and Description |
---|---|
DependencyResult |
getResult()
Gets the dependency result at the point the exception occurred.
|
getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DependencyResolutionException(DependencyResult result, Throwable cause)
result
- The dependency result at the point the exception occurred, may be null
.cause
- The exception that caused this one, may be null
.public DependencyResolutionException(DependencyResult result, String message, Throwable cause)
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
.public DependencyResult getResult()
null
if unknown.Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.