public class PropertySetterAccessException extends PropertyAccessException
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
getMessage, getPersistentClass, getPropertyName, originalMessage
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)
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 setCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.