Package org.hibernate
Class PropertySetterAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.PropertyAccessException
org.hibernate.PropertySetterAccessException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.hibernate.PropertyAccessException
getMessage, getPersistentClass, getPropertyName, originalMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
PropertySetterAccessException
public PropertySetterAccessException(Throwable cause, Class<?> persistentClass, String propertyName, Class<?> expectedType, Object target, @Nullable Object value) Constructs aPropertyAccessException
using the specified information.- Parameters:
cause
- The underlying causepersistentClass
- The class which is supposed to contain the property in questionpropertyName
- The name of the property.expectedType
- The expected property typetarget
- The target, which should be of type 'persistentClass'value
- The property value we are trying to set
-
-
Method Details