org.apache.maven.artifact.resolver
Class AbstractArtifactResolutionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.maven.artifact.resolver.AbstractArtifactResolutionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ArtifactNotFoundException, ArtifactResolutionException

public class AbstractArtifactResolutionException
extends Exception

Base class for artifact resolution exceptions.

Version:
$Id: AbstractArtifactResolutionException.java 379549 2006-02-21 18:06:25Z jdcasey $
Author:
Brett Porter
See Also:
Serialized Form

Field Summary
(package private) static String LS
           
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
protected AbstractArtifactResolutionException(String message, Artifact artifact)
           
protected AbstractArtifactResolutionException(String message, Artifact artifact, List remoteRepositories)
           
protected AbstractArtifactResolutionException(String message, Artifact artifact, List remoteRepositories, Throwable t)
           
protected AbstractArtifactResolutionException(String message, String groupId, String artifactId, String version, String type, List remoteRepositories, List path)
           
protected AbstractArtifactResolutionException(String message, String groupId, String artifactId, String version, String type, List remoteRepositories, List path, Throwable t)
           
 
Method Summary
protected static String constructArtifactPath(List path, String indentation)
           
protected static String constructMissingArtifactMessage(String message, String indentation, String groupId, String artifactId, String version, String type, String downloadUrl, List path)
           
 String getArtifactId()
           
 String getArtifactPath()
           
 String getGroupId()
           
 String getOriginalMessage()
           
 List getRemoteRepositories()
           
 String getType()
           
 String 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
 

Field Detail

LS

static final String LS
Constructor Detail

AbstractArtifactResolutionException

protected AbstractArtifactResolutionException(String message,
                                              String groupId,
                                              String artifactId,
                                              String version,
                                              String type,
                                              List remoteRepositories,
                                              List path)

AbstractArtifactResolutionException

protected AbstractArtifactResolutionException(String message,
                                              String groupId,
                                              String artifactId,
                                              String version,
                                              String type,
                                              List remoteRepositories,
                                              List path,
                                              Throwable t)

AbstractArtifactResolutionException

protected AbstractArtifactResolutionException(String message,
                                              Artifact artifact)

AbstractArtifactResolutionException

protected AbstractArtifactResolutionException(String message,
                                              Artifact artifact,
                                              List remoteRepositories)

AbstractArtifactResolutionException

protected AbstractArtifactResolutionException(String message,
                                              Artifact artifact,
                                              List remoteRepositories,
                                              Throwable t)
Method Detail

getGroupId

public String getGroupId()

getArtifactId

public String getArtifactId()

getVersion

public String getVersion()

getType

public String getType()

getRemoteRepositories

public List getRemoteRepositories()

getOriginalMessage

public String getOriginalMessage()

constructArtifactPath

protected static String constructArtifactPath(List path,
                                              String indentation)

constructMissingArtifactMessage

protected static String constructMissingArtifactMessage(String message,
                                                        String indentation,
                                                        String groupId,
                                                        String artifactId,
                                                        String version,
                                                        String type,
                                                        String downloadUrl,
                                                        List path)

getArtifactPath

public String getArtifactPath()


Copyright 2001-2001-2006 Apache Software Foundation. All Rights Reserved.