public class InvalidVersionSpecificationException extends RepositoryException
| Constructor | 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 | Description |
|---|---|---|
java.lang.String |
getVersion() |
Gets the version or version range that could not be parsed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessagepublic 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.public java.lang.String getVersion()
null if unknown.