public class DependencyResolutionException extends RepositoryException
| Modifier and Type | Field and Description |
|---|---|
private DependencyResult |
result |
| Constructor and Description |
|---|
DependencyResolutionException(DependencyResult result,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified result, detail message and cause.
|
DependencyResolutionException(DependencyResult result,
java.lang.Throwable cause)
Creates a new exception with the specified result and cause.
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
getMessage(java.lang.Throwable cause) |
DependencyResult |
getResult()
Gets the dependency result at the point the exception occurred.
|
getMessageprivate final transient DependencyResult result
public DependencyResolutionException(DependencyResult result, java.lang.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, java.lang.String message, java.lang.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.private static java.lang.String getMessage(java.lang.Throwable cause)
public DependencyResult getResult()
null if unknown.