
public class PropertyException extends IllegalStateException
| Constructor and Description |
|---|
PropertyException(String name,
Object value)
Creates a new instance of
PropertyException taking a property
name and the invalid value. |
PropertyException(String name,
Object value,
Throwable cause)
Creates a new instance of
PropertyException taking a property
name, the invalid value and a causing throwable. |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the invalid property.
|
Object |
getValue()
Gets the value of the invalid property.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PropertyException(String name, Object value)
PropertyException taking a property
name and the invalid value.name - the name of the property with invalid value.value - the invalid value of the property with name name.public PropertyException(String name, Object value, Throwable cause)
PropertyException taking a property
name, the invalid value and a causing throwable.name - the name of the property with invalid value.value - the invalid value of the property with name name.cause - the causing throwable.Copyright © 2005-2012 jDTAUS. All Rights Reserved.