类 InactiveConfigDataAccessException

所有已实现的接口:
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.
从以下版本开始:
2.4.0
作者:
Phillip Webb, Madhura Bhave
另请参阅:
  • 方法详细资料

    • getPropertySource

      public PropertySource<?> getPropertySource()
      Return the inactive property source that contained the property.
      返回:
      the property source
    • getLocation

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

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

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