public class ArtifactNotFoundException extends ArtifactTransferException
| Constructor and Description |
|---|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository)
Creates a new exception with the specified artifact and repository.
|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository,
java.lang.String message)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository,
java.lang.String message,
boolean fromCache)
Creates a new exception with the specified artifact, repository and detail message.
|
ArtifactNotFoundException(Artifact artifact,
RemoteRepository repository,
java.lang.String message,
java.lang.Throwable cause)
Creates a new exception with the specified artifact, repository, detail message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
getMessage(Artifact artifact,
RemoteRepository repository) |
getArtifact, getRepository, getString, isFromCachegetMessagepublic ArtifactNotFoundException(Artifact artifact, RemoteRepository repository)
artifact - The missing artifact, may be null.repository - The involved remote repository, may be null.public ArtifactNotFoundException(Artifact artifact, RemoteRepository repository, java.lang.String message)
artifact - The missing artifact, may be null.repository - The involved remote repository, may be null.message - The detail message, may be null.public ArtifactNotFoundException(Artifact artifact, RemoteRepository repository, java.lang.String message, boolean fromCache)
artifact - The missing artifact, may be null.repository - The involved remote repository, may be null.message - The detail message, may be null.fromCache - true if the exception was played back from the error cache, false if the
exception actually just occurred.public ArtifactNotFoundException(Artifact artifact, RemoteRepository repository, java.lang.String message, java.lang.Throwable cause)
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.private static java.lang.String getMessage(Artifact artifact, RemoteRepository repository)