Package org.apache.maven.repository
Class VersionNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.repository.VersionNotFoundException
-
- All Implemented Interfaces:
Serializable
public class VersionNotFoundException extends Exception
Thrown if a dependency has an invalid version.- Author:
- Brett Porter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VersionNotFoundException(String projectId, Dependency dependency, File pomFile, InvalidVersionSpecificationException cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvalidVersionSpecificationException
getCauseException()
Dependency
getDependency()
File
getPomFile()
String
getProjectId()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
VersionNotFoundException
public VersionNotFoundException(String projectId, Dependency dependency, File pomFile, InvalidVersionSpecificationException cause)
-
-
Method Detail
-
getDependency
public Dependency getDependency()
-
getProjectId
public String getProjectId()
-
getPomFile
public File getPomFile()
-
getCauseException
public InvalidVersionSpecificationException getCauseException()
-
-