Package org.apache.maven.repository
Class VersionNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.maven.repository.VersionNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class VersionNotFoundException extends java.lang.Exception
Thrown if a dependency has an invalid version.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private InvalidVersionSpecificationException
cause
private Dependency
dependency
private java.io.File
pomFile
private java.lang.String
projectId
-
Constructor Summary
Constructors Constructor Description VersionNotFoundException(java.lang.String projectId, Dependency dependency, java.io.File pomFile, InvalidVersionSpecificationException cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.lang.String
formatLocationInPom(Dependency dependency)
InvalidVersionSpecificationException
getCauseException()
Dependency
getDependency()
java.io.File
getPomFile()
java.lang.String
getProjectId()
-
-
-
Field Detail
-
dependency
private Dependency dependency
-
projectId
private java.lang.String projectId
-
pomFile
private java.io.File pomFile
-
cause
private InvalidVersionSpecificationException cause
-
-
Constructor Detail
-
VersionNotFoundException
public VersionNotFoundException(java.lang.String projectId, Dependency dependency, java.io.File pomFile, InvalidVersionSpecificationException cause)
-
-
Method Detail
-
formatLocationInPom
private static java.lang.String formatLocationInPom(Dependency dependency)
-
getDependency
public Dependency getDependency()
-
getProjectId
public java.lang.String getProjectId()
-
getPomFile
public java.io.File getPomFile()
-
getCauseException
public InvalidVersionSpecificationException getCauseException()
-
-