public class InvalidVersionSpecificationException extends RepositoryException
| Constructor and Description | 
|---|
| InvalidVersionSpecificationException(String version,
                                                                        String message)Creates a new exception with the specified version and detail message. | 
| InvalidVersionSpecificationException(String version,
                                                                        String message,
                                                                        Throwable cause)Creates a new exception with the specified version, detail message and cause. | 
| InvalidVersionSpecificationException(String version,
                                                                        Throwable cause)Creates a new exception with the specified version and cause. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getVersion()Gets the version or version range that could not be parsed. | 
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidVersionSpecificationException(String version, String message)
version - The invalid version specification, may be null.message - The detail message, may be null.public InvalidVersionSpecificationException(String version, Throwable cause)
version - The invalid version specification, may be null.cause - The exception that caused this one, may be null.public InvalidVersionSpecificationException(String version, String message, 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 String getVersion()
null if unknown.Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.