程序包 org.hibernate
类 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
-
- 所有已实现的接口:
Serializable
public class PropertySetterAccessException extends PropertyAccessException
- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringtoString()-
从类继承的方法 org.hibernate.PropertyAccessException
getMessage, getPersistentClass, getPropertyName, originalMessage
-
-
-
-
构造器详细资料
-
PropertySetterAccessException
public PropertySetterAccessException(Throwable cause, Class persistentClass, String propertyName, Class expectedType, Object target, Object value)
Constructs a PropertyAccessException using the specified information.- 参数:
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
-
-