|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.xins.common.collections.InvalidPropertyValueException
Exception thrown to indicate the property of a value is invalid.
MissingRequiredPropertyException,
Serialized Form| Constructor Summary | |
InvalidPropertyValueException(String propertyName,
String propertyValue)
Constructs a new InvalidPropertyValueException. |
|
InvalidPropertyValueException(String propertyName,
String propertyValue,
String reason)
Constructs a new InvalidPropertyValueException with the
specified reason. |
|
| Method Summary | |
String |
getPropertyName()
Returns the name of the property. |
String |
getPropertyValue()
Returns the (invalid) value of the property. |
String |
getReason()
Returns the description of the reason. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public 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.| Method Detail |
public String getPropertyName()
null.public String getPropertyValue()
null.public String getReason()
null.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||