org.apache.maven.repository
Class VersionNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
VersionNotFoundException(String projectId, Dependency dependency, File pomFile, InvalidVersionSpecificationException cause)
           
 
Method Summary
 InvalidVersionSpecificationException getCauseException()
           
 Dependency getDependency()
           
 File getPomFile()
           
 String getProjectId()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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()


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.