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