Package org.hibernate

Class PropertySetterAccessException

    • Constructor Summary

      Constructors 
      Constructor Description
      PropertySetterAccessException​(java.lang.Throwable cause, java.lang.Class persistentClass, java.lang.String propertyName, java.lang.Class expectedType, java.lang.Object target, java.lang.Object value)
      Constructs a PropertyAccessException using the specified information.
    • Constructor Detail

      • PropertySetterAccessException

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

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable