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$
- Author:
- Brett Porter
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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) 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
Modifier and TypeMethodDescriptionprotected static String
constructArtifactPath
(List path, String indentation) protected static String
constructMissingArtifactMessage
(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
-