类 InvalidConfigDataPropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.context.config.ConfigDataException
org.springframework.boot.context.config.InvalidConfigDataPropertyException
- 所有已实现的接口:
Serializable
Exception thrown if an invalid property is found when processing config data.
- 从以下版本开始:
- 2.4.0
- 作者:
- Phillip Webb, Madhura Bhave
- 另请参阅:
-
方法概要
修饰符和类型方法说明Return theConfigDataResourceof the invalid property ornullif the source was not loaded fromConfigData.Return source property that caused the exception.Return the replacement property that should be used instead ornullif not replacement is available.
-
方法详细资料
-
getProperty
Return source property that caused the exception.- 返回:
- the invalid property
-
getLocation
Return theConfigDataResourceof the invalid property ornullif the source was not loaded fromConfigData.- 返回:
- the config data location or
null
-
getReplacement
Return the replacement property that should be used instead ornullif not replacement is available.- 返回:
- the replacement property name
-