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