public class ArtifactNotFoundException extends Exception
| Constructor and Description |
|---|
ArtifactNotFoundException(Artifact artifact)
Creates a new
ArtifactNotFoundException. |
ArtifactNotFoundException(Artifact artifact,
Throwable cause)
Creates a new
ArtifactNotFoundException. |
ArtifactNotFoundException(String message,
Artifact artifact)
Creates a new
ArtifactNotFoundException. |
ArtifactNotFoundException(String message,
Artifact artifact,
Throwable cause)
Creates a new
ArtifactNotFoundException. |
| Modifier and Type | Method and Description |
|---|---|
Artifact |
getArtifact()
Gets the artifact that does not exist.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ArtifactNotFoundException(Artifact artifact)
ArtifactNotFoundException.artifact - the artifact that was not found.public ArtifactNotFoundException(Artifact artifact, Throwable cause)
ArtifactNotFoundException.artifact - the artifact that was not found.cause - the reason why it was not found (or null if there is no specific reason)public ArtifactNotFoundException(String message, Artifact artifact)
ArtifactNotFoundException.message - The message.artifact - the artifact that was not found.public ArtifactNotFoundException(String message, Artifact artifact, Throwable cause)
ArtifactNotFoundException.message - The message.artifact - the artifact that was not found.cause - the reason why it was not found (or null if there is no specific reason)public Artifact getArtifact()
Copyright © 2009–2022 MojoHaus. All rights reserved.