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
,PluginNotFoundException
Base class for artifact resolution exceptions.
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractArtifactResolutionException
(String message, String groupId, String artifactId, String version, String type, String classifier, List<ArtifactRepository> remoteRepositories, List<String> path) protected
AbstractArtifactResolutionException
(String message, String groupId, String artifactId, String version, String type, String classifier, List<ArtifactRepository> remoteRepositories, List<String> path, Throwable t) protected
AbstractArtifactResolutionException
(String message, Artifact artifact) protected
AbstractArtifactResolutionException
(String message, Artifact artifact, List<ArtifactRepository> remoteRepositories) protected
AbstractArtifactResolutionException
(String message, Artifact artifact, List<ArtifactRepository> remoteRepositories, Throwable t) -
Method Summary
Modifier and TypeMethodDescriptionprotected static String
constructArtifactPath
(List<String> path, String indentation) protected static String
constructMissingArtifactMessage
(String message, String indentation, String groupId, String artifactId, String version, String type, String classifier, String downloadUrl, List<String> 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
protected AbstractArtifactResolutionException(String message, Artifact artifact, List<ArtifactRepository> remoteRepositories) -
AbstractArtifactResolutionException
protected AbstractArtifactResolutionException(String message, Artifact artifact, List<ArtifactRepository> remoteRepositories, Throwable t)
-
-
Method Details
-
getArtifact
-
getGroupId
-
getArtifactId
-
getVersion
-
getType
-
getClassifier
- Returns:
- the classifier
-
getPath
- Returns:
- the path
-
getRemoteRepositories
-
getOriginalMessage
-
constructArtifactPath
-
constructMissingArtifactMessage
-
getArtifactPath
-