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