Class NoSuchPropertyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.klojang.util.InvokeException
org.klojang.invoke.NoSuchPropertyException
- All Implemented Interfaces:
Serializable
Thrown when attempting to read or write a non-existent or inaccessible bean
property.
- Author:
- Ayco Holleman
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic NoSuchPropertyException
noSuchProperty
(Object bean, String property) Returns aNoSuchPropertyException
for the specified name.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
noSuchProperty
Returns aNoSuchPropertyException
for the specified name.- Parameters:
bean
- the JavaBean that supposedly was to have a property with the specified nameproperty
- the name of the non-existent or inaccessible property- Returns:
- a
NoSuchPropertyException
-