Package org.hibernate

Class PropertySetterAccessException

All Implemented Interfaces:
Serializable

public class PropertySetterAccessException extends PropertyAccessException
See Also:
  • Constructor Details

    • PropertySetterAccessException

      public PropertySetterAccessException(Throwable cause, Class<?> persistentClass, String propertyName, Class<?> expectedType, Object target, @Nullable Object value)
      Constructs a PropertyAccessException using the specified information.
      Parameters:
      cause - The underlying cause
      persistentClass - The class which is supposed to contain the property in question
      propertyName - The name of the property.
      expectedType - The expected property type
      target - The target, which should be of type 'persistentClass'
      value - The property value we are trying to set
  • Method Details