Package org.eclipse.aether.transfer
Class ArtifactNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.aether.RepositoryException
org.eclipse.aether.transfer.ArtifactTransferException
org.eclipse.aether.transfer.ArtifactNotFoundException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ArtifactFilteredOutException
Thrown when an artifact was not found in a particular repository.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionArtifactNotFoundException(Artifact artifact, String localPath) Creates a new exception with the specified system artifact and expected local path.ArtifactNotFoundException(Artifact artifact, RemoteRepository repository) Creates a new exception with the specified artifact and repository.ArtifactNotFoundException(Artifact artifact, RemoteRepository repository, String message) Creates a new exception with the specified artifact, repository and detail message.ArtifactNotFoundException(Artifact artifact, RemoteRepository repository, String message, boolean fromCache) Creates a new exception with the specified artifact, repository and detail message.ArtifactNotFoundException(Artifact artifact, RemoteRepository repository, String message, Throwable cause) Creates a new exception with the specified artifact, repository, detail message and cause.
- 
Method SummaryMethods inherited from class org.eclipse.aether.transfer.ArtifactTransferExceptiongetArtifact, getRepository, isFromCacheMethods inherited from class org.eclipse.aether.RepositoryExceptiongetMessageMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ArtifactNotFoundExceptionCreates a new exception with the specified artifact and repository.- Parameters:
- artifact- The missing artifact, may be- null.
- repository- The involved remote repository, may be- null.
 
- 
ArtifactNotFoundExceptionCreates a new exception with the specified system artifact and expected local path.- Parameters:
- artifact- The missing artifact, may be- null.
- localPath- The expected local path of missing artifact, may be- null.
- Since:
- 2.0.0
 
- 
ArtifactNotFoundExceptionCreates a new exception with the specified artifact, repository and detail message.- Parameters:
- artifact- The missing artifact, may be- null.
- repository- The involved remote repository, may be- null.
- message- The detail message, may be- null.
 
- 
ArtifactNotFoundExceptionpublic ArtifactNotFoundException(Artifact artifact, RemoteRepository repository, String message, boolean fromCache) Creates a new exception with the specified artifact, repository and detail message.- Parameters:
- artifact- The missing artifact, may be- null.
- repository- The involved remote repository, may be- null.
- message- The detail message, may be- null.
- fromCache-- trueif the exception was played back from the error cache,- falseif the exception actually just occurred.
 
- 
ArtifactNotFoundExceptionpublic ArtifactNotFoundException(Artifact artifact, RemoteRepository repository, String message, Throwable cause) Creates a new exception with the specified artifact, repository, detail message and cause.- Parameters:
- artifact- The missing artifact, may be- null.
- repository- The involved remote repository, may be- null.
- message- The detail message, may be- null.
- cause- The exception that caused this one, may be- null.
 
 
-