public class InactiveConfigDataAccessException extends ConfigDataException
ConfigData
property source. Used to ensure that a user doesn't accidentally
attempt to specify a properties that can never be resolved.Modifier and Type | Method and Description |
---|---|
ConfigDataResource |
getLocation()
Return the
ConfigDataResource of the property source or null if the
source was not loaded from ConfigData . |
Origin |
getOrigin()
Return the origin or the property or
null . |
String |
getPropertyName()
Return the name of the property.
|
PropertySource<?> |
getPropertySource()
Return the inactive property source that contained the property.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PropertySource<?> getPropertySource()
public ConfigDataResource getLocation()
ConfigDataResource
of the property source or null
if the
source was not loaded from ConfigData
.null
public String getPropertyName()
public Origin getOrigin()
null
.