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
Base class for artifact resolution exceptions.
- Version:
- $Id: AbstractArtifactResolutionException.java 647357 2008-04-12 00:51:03Z vsiveton $
- Author:
- Brett Porter
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractArtifactResolutionException(String message, String groupId, String artifactId, String version, String type, String classifier, List remoteRepositories, List path) protectedAbstractArtifactResolutionException(String message, String groupId, String artifactId, String version, String type, String classifier, List remoteRepositories, List path, Throwable t) protectedAbstractArtifactResolutionException(String message, Artifact artifact) protectedAbstractArtifactResolutionException(String message, Artifact artifact, List remoteRepositories) protectedAbstractArtifactResolutionException(String message, Artifact artifact, List remoteRepositories, Throwable t) -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringconstructArtifactPath(List path, String indentation) protected static StringconstructMissingArtifactMessage(String message, String indentation, String groupId, String artifactId, String version, String type, String classifier, String downloadUrl, List path) getPath()getType()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AbstractArtifactResolutionException
-
AbstractArtifactResolutionException
-
AbstractArtifactResolutionException
-
AbstractArtifactResolutionException
-
AbstractArtifactResolutionException
-
-
Method Details
-
getArtifact
-
getGroupId
-
getArtifactId
-
getVersion
-
getType
-
getClassifier
- Returns:
- the classifier
-
getPath
- Returns:
- the path
-
getRemoteRepositories
-
getOriginalMessage
-
constructArtifactPath
-
constructMissingArtifactMessage
-
getArtifactPath
-