public class MetadataNotFoundException extends Exception
| Constructor and Description |
|---|
MetadataNotFoundException(String path)
Creates a new
MetadataNotFoundException. |
MetadataNotFoundException(String message,
String path)
Creates a new
MetadataNotFoundException. |
MetadataNotFoundException(String message,
String path,
Throwable cause)
Creates a new
MetadataNotFoundException. |
MetadataNotFoundException(String path,
Throwable cause)
Creates a new
MetadataNotFoundException. |
| Modifier and Type | Method and Description |
|---|---|
String |
getPath()
Gets the path of the metadata that does not exist.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MetadataNotFoundException(String path)
MetadataNotFoundException.path - the path of the metadata that was not found.public MetadataNotFoundException(String message, String path)
MetadataNotFoundException.message - The message.path - the path of the metadata that was not found.public MetadataNotFoundException(String path, Throwable cause)
MetadataNotFoundException.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)public MetadataNotFoundException(String message, String path, Throwable cause)
MetadataNotFoundException.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)public String getPath()
Copyright © 2009–2022 MojoHaus. All rights reserved.