Class InactiveConfigDataAccessException

All Implemented Interfaces:
Serializable

public class InactiveConfigDataAccessException extends ConfigDataException
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
See Also:
  • Method Details

    • getPropertySource

      public org.springframework.core.env.PropertySource<?> getPropertySource()
      Return the inactive property source that contained the property.
      Returns:
      the property source
    • getLocation

      public ConfigDataResource getLocation()
      Return the ConfigDataResource of the property source or null if the source was not loaded from ConfigData.
      Returns:
      the config data location or null
    • getPropertyName

      public String getPropertyName()
      Return the name of the property.
      Returns:
      the property name
    • getOrigin

      public Origin getOrigin()
      Return the origin or the property or null.
      Returns:
      the property origin