public class MultipleArtifactsNotFoundException extends ArtifactResolutionException
| Modifier and Type | Field and Description |
|---|---|
private java.util.List |
missingArtifacts |
private java.util.List |
resolvedArtifacts |
LS| Constructor and Description |
|---|
MultipleArtifactsNotFoundException(Artifact originatingArtifact,
java.util.List missingArtifacts,
java.util.List remoteRepositories)
Deprecated.
|
MultipleArtifactsNotFoundException(Artifact originatingArtifact,
java.util.List resolvedArtifacts,
java.util.List missingArtifacts,
java.util.List remoteRepositories)
Create an instance of the exception with allrequired information.
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
constructMessage(java.util.List artifacts) |
java.util.List |
getMissingArtifacts()
artifacts that could NOT be resolved
|
java.util.List |
getResolvedArtifacts()
artifacts that could be resolved
|
constructArtifactPath, constructMissingArtifactMessage, getArtifact, getArtifactId, getArtifactPath, getClassifier, getGroupId, getOriginalMessage, getPath, getRemoteRepositories, getType, getVersionprivate final java.util.List resolvedArtifacts
private final java.util.List missingArtifacts
public MultipleArtifactsNotFoundException(Artifact originatingArtifact, java.util.List missingArtifacts, java.util.List remoteRepositories)
MultipleArtifactsNotFoundException(Artifact, List, List, List)public MultipleArtifactsNotFoundException(Artifact originatingArtifact, java.util.List resolvedArtifacts, java.util.List missingArtifacts, java.util.List remoteRepositories)
originatingArtifact - the artifact that was being resolvedresolvedArtifacts - artifacts that could be resolvedmissingArtifacts - artifacts that could not be resolvedremoteRepositories - remote repositories where the missing artifacts were not foundpublic java.util.List getResolvedArtifacts()
List of Artifactpublic java.util.List getMissingArtifacts()
List of Artifactprivate static java.lang.String constructMessage(java.util.List artifacts)