Package org.codehaus.mojo.mrm.api.maven
Class ArtifactNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
- All Implemented Interfaces:
Serializable
An exception that indicates that an artifact could not be found.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactNotFoundException(String message, Artifact artifact) Creates a newArtifactNotFoundException.ArtifactNotFoundException(String message, Artifact artifact, Throwable cause) Creates a newArtifactNotFoundException.ArtifactNotFoundException(Artifact artifact) Creates a newArtifactNotFoundException.ArtifactNotFoundException(Artifact artifact, Throwable cause) Creates a newArtifactNotFoundException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ArtifactNotFoundException
Creates a newArtifactNotFoundException.- Parameters:
artifact- the artifact that was not found.- Since:
- 1.0
-
ArtifactNotFoundException
Creates a newArtifactNotFoundException.- Parameters:
artifact- the artifact that was not found.cause- the reason why it was not found (ornullif there is no specific reason)- Since:
- 1.0
-
ArtifactNotFoundException
Creates a newArtifactNotFoundException.- Parameters:
message- The message.artifact- the artifact that was not found.- Since:
- 1.0
-
ArtifactNotFoundException
Creates a newArtifactNotFoundException.- Parameters:
message- The message.artifact- the artifact that was not found.cause- the reason why it was not found (ornullif there is no specific reason)- Since:
- 1.0
-
-
Method Details
-
getArtifact
Gets the artifact that does not exist.- Returns:
- the artifact that does not exist.
- Since:
- 1.0
-