public class InvalidConfigurationPropertyValueException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
InvalidConfigurationPropertyValueException(java.lang.String name,
java.lang.Object value,
java.lang.String reason)
Creates a new instance for the specified property
name and value,
including a reason why the value is invalid. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Return the name of the property.
|
java.lang.String |
getReason()
Return the reason why the value is invalid.
|
java.lang.Object |
getValue()
Return the invalid value, can be
null. |
public InvalidConfigurationPropertyValueException(java.lang.String name,
java.lang.Object value,
java.lang.String reason)
name and value,
including a reason why the value is invalid.name - the name of the property in canonical formatvalue - the value of the property, can be nullreason - 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.public java.lang.String getName()
public java.lang.Object getValue()
null.public java.lang.String getReason()