Class InvalidConfigDataPropertyException

All Implemented Interfaces:
Serializable

public class InvalidConfigDataPropertyException extends ConfigDataException
Exception thrown if an invalid property is found when processing config data.
Since:
2.4.0
Author:
Phillip Webb, Madhura Bhave
See Also:
  • Method Details

    • getProperty

      public ConfigurationProperty getProperty()
      Return source property that caused the exception.
      Returns:
      the invalid property
    • getLocation

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

      public ConfigurationPropertyName getReplacement()
      Return the replacement property that should be used instead or null if not replacement is available.
      Returns:
      the replacement property name