|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.apache.maven.artifact.resolver.AbstractArtifactResolutionException org.apache.maven.artifact.resolver.ArtifactResolutionException org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException
public class MultipleArtifactsNotFoundException
Exception caused when one or more artifacts can not be resolved because they are not found in the local or remote repositories.
Constructor Summary | |
---|---|
MultipleArtifactsNotFoundException(Artifact originatingArtifact,
List missingArtifacts,
List remoteRepositories)
Deprecated. use MultipleArtifactsNotFoundException(Artifact, List, List, List) |
|
MultipleArtifactsNotFoundException(Artifact originatingArtifact,
List resolvedArtifacts,
List missingArtifacts,
List remoteRepositories)
Create an instance of the exception with allrequired information. |
Method Summary | |
---|---|
List |
getMissingArtifacts()
artifacts that could NOT be resolved |
List |
getResolvedArtifacts()
artifacts that could be resolved |
Methods inherited from class org.apache.maven.artifact.resolver.AbstractArtifactResolutionException |
---|
constructArtifactPath, constructMissingArtifactMessage, getArtifact, getArtifactId, getArtifactPath, getClassifier, getGroupId, getOriginalMessage, getPath, getRemoteRepositories, getType, getVersion |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MultipleArtifactsNotFoundException(Artifact originatingArtifact, List missingArtifacts, List remoteRepositories)
MultipleArtifactsNotFoundException(Artifact, List, List, List)
public MultipleArtifactsNotFoundException(Artifact originatingArtifact, List resolvedArtifacts, List missingArtifacts, 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 foundMethod Detail |
---|
public List getResolvedArtifacts()
List
of Artifact
public List getMissingArtifacts()
List
of Artifact
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |