public class ConfigDataLocationNotFoundException extends ConfigDataNotFoundException
ConfigDataNotFoundException thrown when a ConfigDataLocation cannot be
found.| Constructor and Description |
|---|
ConfigDataLocationNotFoundException(ConfigDataLocation location)
Create a new
ConfigDataLocationNotFoundException instance. |
ConfigDataLocationNotFoundException(ConfigDataLocation location,
String message,
Throwable cause)
Create a new
ConfigDataLocationNotFoundException instance. |
ConfigDataLocationNotFoundException(ConfigDataLocation location,
Throwable cause)
Create a new
ConfigDataLocationNotFoundException instance. |
| Modifier and Type | Method and Description |
|---|---|
ConfigDataLocation |
getLocation()
Return the location that could not be found.
|
Origin |
getOrigin()
Return the source origin or
null if the origin is not known. |
String |
getReferenceDescription()
Return a description of actual referenced item that could not be found.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConfigDataLocationNotFoundException(ConfigDataLocation location)
ConfigDataLocationNotFoundException instance.location - the location that could not be foundpublic ConfigDataLocationNotFoundException(ConfigDataLocation location, Throwable cause)
ConfigDataLocationNotFoundException instance.location - the location that could not be foundcause - the exception causepublic ConfigDataLocationNotFoundException(ConfigDataLocation location, String message, Throwable cause)
ConfigDataLocationNotFoundException instance.location - the location that could not be foundmessage - the exception messagecause - the exception causepublic ConfigDataLocation getLocation()
public Origin getOrigin()
OriginProvidernull if the origin is not known.nullpublic String getReferenceDescription()
ConfigDataNotFoundExceptiongetReferenceDescription in class ConfigDataNotFoundException