类 InvalidConfigurationPropertyValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.context.properties.source.InvalidConfigurationPropertyValueException
- 所有已实现的接口:
Serializable
Exception thrown when a configuration property value is invalid.
- 从以下版本开始:
- 2.0.0
- 作者:
- Stephane Nicoll
- 另请参阅:
-
构造器概要
构造器构造器说明InvalidConfigurationPropertyValueException
(String name, Object value, String reason) Creates a new instance for the specified propertyname
andvalue
, including areason
why the value is invalid. -
方法概要
-
构造器详细资料
-
InvalidConfigurationPropertyValueException
Creates a new instance for the specified propertyname
andvalue
, including areason
why the value is invalid.- 参数:
name
- the name of the property in canonical formatvalue
- the value of the property, can benull
reason
- a human-readable text that describes why the reason is invalid. Starts with an upper-case and ends with a dot. Several sentences and carriage returns are allowed.
-
-
方法详细资料
-
getName
Return the name of the property.- 返回:
- the property name
-
getValue
Return the invalid value, can benull
.- 返回:
- the invalid value
-
getReason
Return the reason why the value is invalid.- 返回:
- the reason
-