org.apache.maven.project.artifact
Class InvalidDependencyVersionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.project.ProjectBuildingException
              extended by org.apache.maven.project.InvalidProjectVersionException
                  extended by org.apache.maven.project.artifact.InvalidDependencyVersionException
All Implemented Interfaces:
Serializable

public class InvalidDependencyVersionException
extends InvalidProjectVersionException

Thrown if a dependency has an invalid version.

Author:
Brett Porter
See Also:
Serialized Form

Constructor Summary
InvalidDependencyVersionException(String projectId, Dependency dependency, File pomFile, InvalidVersionSpecificationException cause)
           
 
Method Summary
 Dependency getDependency()
           
 
Methods inherited from class org.apache.maven.project.InvalidProjectVersionException
getLocationInPom, getOffendingVersion
 
Methods inherited from class org.apache.maven.project.ProjectBuildingException
getPomFile, getPomLocation, getProjectId, getResults
 
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

InvalidDependencyVersionException

public InvalidDependencyVersionException(String projectId,
                                         Dependency dependency,
                                         File pomFile,
                                         InvalidVersionSpecificationException cause)
Method Detail

getDependency

public Dependency getDependency()


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