org.apache.maven.artifact.resolver
Class AbstractArtifactResolutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.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 647357 2008-04-12 00:51:03Z vsiveton $
- Author:
- Brett Porter
- See Also:
- Serialized Form
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,
String classifier,
List remoteRepositories,
List path)
|
protected |
AbstractArtifactResolutionException(String message,
String groupId,
String artifactId,
String version,
String type,
String classifier,
List remoteRepositories,
List path,
Throwable t)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AbstractArtifactResolutionException
protected AbstractArtifactResolutionException(String message,
String groupId,
String artifactId,
String version,
String type,
String classifier,
List remoteRepositories,
List path)
AbstractArtifactResolutionException
protected AbstractArtifactResolutionException(String message,
String groupId,
String artifactId,
String version,
String type,
String classifier,
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)
getArtifact
public Artifact getArtifact()
getGroupId
public String getGroupId()
getArtifactId
public String getArtifactId()
getVersion
public String getVersion()
getType
public String getType()
getClassifier
public String getClassifier()
- Returns:
- the classifier
getPath
public String getPath()
- Returns:
- the path
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 classifier,
String downloadUrl,
List path)
getArtifactPath
public String getArtifactPath()
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.