org.spicefactory.lib.reflect
Class PropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spicefactory.lib.reflect.PropertyException
- All Implemented Interfaces:
- Serializable
public class PropertyException
- extends RuntimeException
Exception thrown when reading from or writing to a Bean Property fails.
- Author:
- Jens Halm
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
PropertyException
public PropertyException(Property property,
String message,
Throwable cause)
- Creates a new PropertyException
- Parameters:
property - the affected Property instancemessage - the error messagecause - the root cause
PropertyException
public PropertyException(Property property,
String message)
- Creates a new PropertyException
- Parameters:
property - the affected Property instancemessage - the error message
getProperty
public Property getProperty()
- Returns the affected Property instance.
- Returns:
- the affected Property