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 $
- See Also:
-
Field Summary
Fields -
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) private static String
constructMessageBase
(String message, String groupId, String artifactId, String version, String type, List remoteRepositories, List path) 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
-
Field Details
-
groupId
-
artifactId
-
version
-
type
-
classifier
-
artifact
-
remoteRepositories
-
originalMessage
-
path
-
LS
-
-
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
-
constructMessageBase
-
constructMissingArtifactMessage
-
getArtifactPath
-