Class ArtifactNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
All Implemented Interfaces:
Serializable

public class ArtifactNotFoundException extends Exception
An exception that indicates that an artifact could not be found.
Since:
1.0
See Also:
  • Constructor Details

    • ArtifactNotFoundException

      public ArtifactNotFoundException(Artifact artifact)
      Parameters:
      artifact - the artifact that was not found.
      Since:
      1.0
    • ArtifactNotFoundException

      public ArtifactNotFoundException(Artifact artifact, Throwable cause)
      Parameters:
      artifact - the artifact that was not found.
      cause - the reason why it was not found (or null if there is no specific reason)
      Since:
      1.0
    • ArtifactNotFoundException

      public ArtifactNotFoundException(String message, Artifact artifact)
      Parameters:
      message - The message.
      artifact - the artifact that was not found.
      Since:
      1.0
    • ArtifactNotFoundException

      public ArtifactNotFoundException(String message, Artifact artifact, Throwable cause)
      Parameters:
      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)
      Since:
      1.0
  • Method Details

    • getArtifact

      public Artifact getArtifact()
      Gets the artifact that does not exist.
      Returns:
      the artifact that does not exist.
      Since:
      1.0