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