org.apache.maven.artifact.resolver
Class ArtifactNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
              extended by org.apache.maven.artifact.resolver.ArtifactNotFoundException
All Implemented Interfaces:
Serializable

public class ArtifactNotFoundException
extends AbstractArtifactResolutionException

Author:
Jason van Zyl
See Also:
Serialized Form

Constructor Summary
  ArtifactNotFoundException(String message, Artifact artifact)
           
protected ArtifactNotFoundException(String message, Artifact artifact, List<ArtifactRepository> remoteRepositories)
           
protected ArtifactNotFoundException(String message, Artifact artifact, List<ArtifactRepository> remoteRepositories, Throwable cause)
           
  ArtifactNotFoundException(String message, String groupId, String artifactId, String version, String type, String classifier, List<ArtifactRepository> remoteRepositories, String downloadUrl, List<String> path, Throwable cause)
           
 
Method Summary
 String getDownloadUrl()
           
 
Methods inherited from class org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
constructArtifactPath, constructMissingArtifactMessage, getArtifact, getArtifactId, getArtifactPath, getClassifier, getGroupId, getOriginalMessage, getPath, getRemoteRepositories, getType, getVersion
 
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

ArtifactNotFoundException

protected ArtifactNotFoundException(String message,
                                    Artifact artifact,
                                    List<ArtifactRepository> remoteRepositories)

ArtifactNotFoundException

public ArtifactNotFoundException(String message,
                                 Artifact artifact)

ArtifactNotFoundException

protected ArtifactNotFoundException(String message,
                                    Artifact artifact,
                                    List<ArtifactRepository> remoteRepositories,
                                    Throwable cause)

ArtifactNotFoundException

public ArtifactNotFoundException(String message,
                                 String groupId,
                                 String artifactId,
                                 String version,
                                 String type,
                                 String classifier,
                                 List<ArtifactRepository> remoteRepositories,
                                 String downloadUrl,
                                 List<String> path,
                                 Throwable cause)
Method Detail

getDownloadUrl

public String getDownloadUrl()


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