Class MetadataNotFoundException

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

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

    • MetadataNotFoundException

      public MetadataNotFoundException(String path)
      Parameters:
      path - the path of the metadata that was not found.
      Since:
      1.0
    • MetadataNotFoundException

      public MetadataNotFoundException(String message, String path)
      Parameters:
      message - The message.
      path - the path of the metadata that was not found.
      Since:
      1.0
    • MetadataNotFoundException

      public MetadataNotFoundException(String path, Throwable cause)
      Parameters:
      path - the path of the metadata that was not found.
      cause - the reason why it was not found (or null if there is no specific reason)
      Since:
      1.0
    • MetadataNotFoundException

      public MetadataNotFoundException(String message, String path, Throwable cause)
      Parameters:
      message - The message.
      path - the path of the metadata 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

    • getPath

      public String getPath()
      Gets the path of the metadata that does not exist.
      Returns:
      the path of the metadata that was not found.
      Since:
      1.0