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