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
public class PropertySetterAccessException extends PropertyAccessException
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringloggablePropertyValueString(Object value)StringtoString()-
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 Detail
-
PropertySetterAccessException
public PropertySetterAccessException(Throwable cause, Class<?> persistentClass, String propertyName, Class<?> expectedType, Object target, Object value)
Constructs aPropertyAccessExceptionusing 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
-
-