Package org.hibernate
Class PropertySetterAccessException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.PropertyAccessException
-
- org.hibernate.PropertySetterAccessException
-
- All Implemented Interfaces:
java.io.Serializable
public class PropertySetterAccessException extends PropertyAccessException
- See Also:
- Serialized Form
-
-
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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()-
Methods inherited from class org.hibernate.PropertyAccessException
getMessage, getPersistentClass, getPropertyName, originalMessage
-
-
-
-
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 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
-
-