Class InvalidVersionSpecificationException

    • Constructor Detail

      • InvalidVersionSpecificationException

        public InvalidVersionSpecificationException​(String version,
                                                    String message)
        Creates a new exception with the specified version and detail message.
        Parameters:
        version - The invalid version specification, may be null.
        message - The detail message, may be null.
      • InvalidVersionSpecificationException

        public InvalidVersionSpecificationException​(String version,
                                                    Throwable cause)
        Creates a new exception with the specified version and cause.
        Parameters:
        version - The invalid version specification, may be null.
        cause - The exception that caused this one, may be null.
      • InvalidVersionSpecificationException

        public InvalidVersionSpecificationException​(String version,
                                                    String message,
                                                    Throwable cause)
        Creates a new exception with the specified version, detail message and cause.
        Parameters:
        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.
    • Method Detail

      • getVersion

        public String getVersion()
        Gets the version or version range that could not be parsed.
        Returns:
        The invalid version specification or null if unknown.