Class InactiveConfigDataAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.context.config.ConfigDataException
org.springframework.boot.context.config.InactiveConfigDataAccessException
- All Implemented Interfaces:
- Serializable
Exception thrown when an attempt is made to resolve a property against an inactive
 
ConfigData property source. Used to ensure that a user doesn't accidentally
 attempt to specify a properties that can never be resolved.- Since:
- 2.4.0
- Author:
- Phillip Webb, Madhura Bhave
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionReturn theConfigDataResourceof the property source ornullif the source was not loaded fromConfigData.Return the origin or the property ornull.Return the name of the property.Return the inactive property source that contained the property.Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Method Details- 
getPropertySourceReturn the inactive property source that contained the property.- Returns:
- the property source
 
- 
getLocationReturn theConfigDataResourceof the property source ornullif the source was not loaded fromConfigData.- Returns:
- the config data location or null
 
- 
getPropertyNameReturn the name of the property.- Returns:
- the property name
 
- 
getOriginReturn the origin or the property ornull.- Returns:
- the property origin
 
 
-