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,
java.lang.String message,
java.lang.Throwable cause)
Create a new
ConfigDataLocationNotFoundException instance. |
ConfigDataLocationNotFoundException(ConfigDataLocation location,
java.lang.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. |
java.lang.String |
getReferenceDescription()
Return a description of actual referenced item that could not be found.
|
public ConfigDataLocationNotFoundException(ConfigDataLocation location)
ConfigDataLocationNotFoundException
instance.location
- the location that could not be foundpublic ConfigDataLocationNotFoundException(ConfigDataLocation location, java.lang.Throwable cause)
ConfigDataLocationNotFoundException
instance.location
- the location that could not be foundcause
- the exception causepublic ConfigDataLocationNotFoundException(ConfigDataLocation location, java.lang.String message, java.lang.Throwable cause)
ConfigDataLocationNotFoundException
instance.location
- the location that could not be foundmessage
- the exception messagecause
- the exception causepublic ConfigDataLocation getLocation()
public Origin getOrigin()
OriginProvider
null
if the origin is not known.null
public java.lang.String getReferenceDescription()
ConfigDataNotFoundException
getReferenceDescription
in class ConfigDataNotFoundException