public abstract class PropertyAccessException extends BeansException
| Constructor and Description | 
|---|
| PropertyAccessException(PropertyChangeEvent propertyChangeEvent,
                       String msg,
                       Throwable cause)Create a new PropertyAccessException. | 
| PropertyAccessException(String msg,
                       Throwable cause)Create a new PropertyAccessException without PropertyChangeEvent. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract String | getErrorCode()Return a corresponding error code for this type of exception. | 
| PropertyChangeEvent | getPropertyChangeEvent()Return the PropertyChangeEvent that resulted in the problem. | 
| String | getPropertyName()Return the name of the affected property, if available. | 
| Object | getValue()Return the affected value that was about to be set, if any. | 
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PropertyAccessException(PropertyChangeEvent propertyChangeEvent, String msg, @Nullable Throwable cause)
propertyChangeEvent - the PropertyChangeEvent that resulted in the problemmsg - the detail messagecause - the root cause@Nullable public PropertyChangeEvent getPropertyChangeEvent()
May be null; only available if an actual bean property
 was affected.
@Nullable public String getPropertyName()
@Nullable public Object getValue()
public abstract String getErrorCode()