Package org.jdesktop.beansbinding
Class PropertyResolutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jdesktop.beansbinding.PropertyResolutionException
- All Implemented Interfaces:
Serializable
PropertyResolutionExceptions
can be thrown at various points in
the life cycle of a Property
. Any time a Property
encounters an exception in resolving a property, a
PropertyResolutionException
can be thrown. For example, if a
BeanProperty
encounters an exception while trying to resolve
the "foo" property of an object via reflection, the exception is
wrapped in a PropertyResolutionException
and is re-thrown.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyResolutionException
(String message) Creates aPropertyResolutionException
with the given message.PropertyResolutionException
(String message, Exception reason) Creates aPropertyResolutionException
with the given message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PropertyResolutionException
Creates aPropertyResolutionException
with the given message.- Parameters:
message
- the exception's message
-
PropertyResolutionException
Creates aPropertyResolutionException
with the given message and cause.- Parameters:
message
- the exception's messagereason
- the original exception that caused this exception to be thrown
-