public final class InvalidPropertyValueException extends PropertyException
MissingRequiredPropertyException,
Serialized Form| Constructor and Description |
|---|
InvalidPropertyValueException(String propertyName,
String propertyValue)
Constructs a new
InvalidPropertyValueException. |
InvalidPropertyValueException(String propertyName,
String propertyValue,
String reason)
Constructs a new
InvalidPropertyValueException with the
specified reason. |
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyValue()
Returns the (invalid) value of the property.
|
String |
getReason()
Returns the description of the reason.
|
getPropertyNameaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidPropertyValueException(String propertyName, String propertyValue) throws IllegalArgumentException
InvalidPropertyValueException.propertyName - the name of the property, cannot be null.propertyValue - the (invalid) value set for the property, cannot be
null.IllegalArgumentException - if propertyName == null || propertyValue == null.public InvalidPropertyValueException(String propertyName, String propertyValue, String reason) throws IllegalArgumentException
InvalidPropertyValueException with the
specified reason.propertyName - the name of the property, cannot be null.propertyValue - the (invalid) value set for the property, cannot be
null.reason - additional description of the problem, or null.IllegalArgumentException - if propertyName == null || propertyValue == null.See http://www.xins.org/.