Class NoSuchPropertyException

All Implemented Interfaces:
Serializable

public final class NoSuchPropertyException extends InvokeException
Thrown when attempting to read or write a non-existent or inaccessible bean property.
Author:
Ayco Holleman
See Also:
  • Method Details

    • noSuchProperty

      public static NoSuchPropertyException noSuchProperty(Object bean, String property)
      Returns a NoSuchPropertyException for the specified name.
      Parameters:
      bean - the JavaBean that supposedly was to have a property with the specified name
      property - the name of the non-existent or inaccessible property
      Returns:
      a NoSuchPropertyException