org.apache.maven.artifact.resolver

Class AbstractArtifactResolutionException

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

Constructor Summary
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)
protected AbstractArtifactResolutionException(String message, Artifact artifact)
protected AbstractArtifactResolutionException(String message, Artifact artifact, List remoteRepositories)
protected AbstractArtifactResolutionException(String message, Artifact artifact, List remoteRepositories, Throwable t)
Method Summary
protected static StringconstructArtifactPath(List path, String indentation)
protected static StringconstructMissingArtifactMessage(String message, String indentation, String groupId, String artifactId, String version, String type, String downloadUrl, List path)
StringgetArtifactId()
StringgetArtifactPath()
StringgetGroupId()
StringgetOriginalMessage()
ListgetRemoteRepositories()
StringgetType()
StringgetVersion()

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

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)

getArtifactId

public String getArtifactId()

getArtifactPath

public String getArtifactPath()

getGroupId

public String getGroupId()

getOriginalMessage

public String getOriginalMessage()

getRemoteRepositories

public List getRemoteRepositories()

getType

public String getType()

getVersion

public String getVersion()
Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.