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:
java.io.Serializable
Direct Known Subclasses:
ArtifactNotFoundException, ArtifactResolutionException

public class AbstractArtifactResolutionException
extends java.lang.Exception

Base class for artifact resolution exceptions.

Version:
$Id: AbstractArtifactResolutionException.java 329256 2005-10-28 17:25:18Z kenney $
Author:
Brett Porter
See Also:
Serialized Form

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

AbstractArtifactResolutionException

protected AbstractArtifactResolutionException(java.lang.String message,
                                              java.lang.String groupId,
                                              java.lang.String artifactId,
                                              java.lang.String version,
                                              java.lang.String type,
                                              java.util.List remoteRepositories,
                                              java.util.List path)

AbstractArtifactResolutionException

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

AbstractArtifactResolutionException

protected AbstractArtifactResolutionException(java.lang.String message,
                                              Artifact artifact)

AbstractArtifactResolutionException

protected AbstractArtifactResolutionException(java.lang.String message,
                                              Artifact artifact,
                                              java.util.List remoteRepositories)

AbstractArtifactResolutionException

protected AbstractArtifactResolutionException(java.lang.String message,
                                              Artifact artifact,
                                              java.util.List remoteRepositories,
                                              java.lang.Throwable t)
Method Detail

getGroupId

public java.lang.String getGroupId()

getArtifactId

public java.lang.String getArtifactId()

getVersion

public java.lang.String getVersion()

getType

public java.lang.String getType()

getRemoteRepositories

public java.util.List getRemoteRepositories()

getOriginalMessage

public java.lang.String getOriginalMessage()

constructArtifactPath

protected static java.lang.String constructArtifactPath(java.util.List path)

getArtifactPath

public java.lang.String getArtifactPath()


Copyright 2006 Apache Software Foundation. All Rights Reserved.