org.jdesktop.beansbinding
Class PropertyResolutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jdesktop.beansbinding.PropertyResolutionException
All Implemented Interfaces:
java.io.Serializable

public class PropertyResolutionException
extends java.lang.RuntimeException

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:
Serialized Form

Constructor Summary
PropertyResolutionException(java.lang.String message)
          Creates a PropertyResolutionException with the given message.
PropertyResolutionException(java.lang.String message, java.lang.Exception reason)
          Creates a PropertyResolutionException with the given message and cause.
 
Method Summary
 
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

PropertyResolutionException

public PropertyResolutionException(java.lang.String message)
Creates a PropertyResolutionException with the given message.

Parameters:
message - the exception's message

PropertyResolutionException

public PropertyResolutionException(java.lang.String message,
                                   java.lang.Exception reason)
Creates a PropertyResolutionException with the given message and cause.

Parameters:
message - the exception's message
reason - the original exception that caused this exception to be thrown