Class InvalidVersionSpecificationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.aether.RepositoryException
org.eclipse.aether.version.InvalidVersionSpecificationException
All Implemented Interfaces:
Serializable

Thrown when a version or version range could not be parsed.
See Also:
  • Constructor Details

    • InvalidVersionSpecificationException

      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

      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 Details

    • getVersion

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