public class PropertySetterAccessException extends PropertyAccessException
Constructor and Description |
---|
PropertySetterAccessException(Throwable cause,
Class persistentClass,
String propertyName,
Class expectedType,
Object target,
Object value)
Constructs a PropertyAccessException using the specified information.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
getMessage, getPersistentClass, getPropertyName, originalMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public PropertySetterAccessException(Throwable cause, Class persistentClass, String propertyName, Class expectedType, Object target, 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-2015 Red Hat, Inc. All Rights Reserved.