public class InvalidVersionSpecificationException extends RepositoryException
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
version |
Constructor and Description |
---|
InvalidVersionSpecificationException(java.lang.String version,
java.lang.String message)
Creates a new exception with the specified version and detail message.
|
InvalidVersionSpecificationException(java.lang.String version,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified version, detail message and cause.
|
InvalidVersionSpecificationException(java.lang.String version,
java.lang.Throwable cause)
Creates a new exception with the specified version and cause.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getVersion()
Gets the version or version range that could not be parsed.
|
getMessage
public InvalidVersionSpecificationException(java.lang.String version, java.lang.String message)
version
- The invalid version specification, may be null
.message
- The detail message, may be null
.public InvalidVersionSpecificationException(java.lang.String version, java.lang.Throwable cause)
version
- The invalid version specification, may be null
.cause
- The exception that caused this one, may be null
.public InvalidVersionSpecificationException(java.lang.String version, java.lang.String message, java.lang.Throwable cause)
version
- The invalid version specification, may be null
.message
- The detail message, may be null
.cause
- The exception that caused this one, may be null
.