Class InvalidConfigurationPropertyValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.context.properties.source.InvalidConfigurationPropertyValueException
- All Implemented Interfaces:
 Serializable
Exception thrown when a configuration property value is invalid.
- Since:
 - 2.0.0
 - Author:
 - Stephane Nicoll
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionInvalidConfigurationPropertyValueException(String name, Object value, String reason) Creates a new instance for the specified propertynameandvalue, including areasonwhy the value is invalid. - 
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
InvalidConfigurationPropertyValueException
Creates a new instance for the specified propertynameandvalue, including areasonwhy the value is invalid.- Parameters:
 name- the name of the property in canonical formatvalue- the value of the property, can benullreason- 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.
 
 - 
 - 
Method Details
- 
getName
Return the name of the property.- Returns:
 - the property name
 
 - 
getValue
Return the invalid value, can benull.- Returns:
 - the invalid value
 
 - 
getReason
Return the reason why the value is invalid.- Returns:
 - the reason
 
 
 -