Package org.hibernate

Class PropertySetterAccessException

    • Constructor Detail

      • PropertySetterAccessException

        public PropertySetterAccessException​(Throwable cause,
                                             Class persistentClass,
                                             String propertyName,
                                             Class expectedType,
                                             Object target,
                                             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