public abstract class PropertyAccessException extends BeansException implements ErrorCoded
Modifier and Type | Field and Description |
---|---|
private java.beans.PropertyChangeEvent |
propertyChangeEvent |
Constructor and Description |
---|
PropertyAccessException(java.beans.PropertyChangeEvent propertyChangeEvent,
java.lang.String msg,
java.lang.Throwable cause)
Create a new PropertyAccessException.
|
PropertyAccessException(java.lang.String msg,
java.lang.Throwable cause)
Create a new PropertyAccessException without PropertyChangeEvent.
|
Modifier and Type | Method and Description |
---|---|
java.beans.PropertyChangeEvent |
getPropertyChangeEvent()
Return the PropertyChangeEvent that resulted in the problem.
|
java.lang.String |
getPropertyName()
Return the name of the affected property, if available.
|
java.lang.Object |
getValue()
Return the affected value that was about to be set, if any.
|
equals, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getErrorCode
private transient java.beans.PropertyChangeEvent propertyChangeEvent
public PropertyAccessException(java.beans.PropertyChangeEvent propertyChangeEvent, java.lang.String msg, java.lang.Throwable cause)
propertyChangeEvent
- the PropertyChangeEvent that resulted in the problemmsg
- the detail messagecause
- the root causepublic PropertyAccessException(java.lang.String msg, java.lang.Throwable cause)
msg
- the detail messagecause
- the root causepublic java.beans.PropertyChangeEvent getPropertyChangeEvent()
May be null
; only available if an actual bean property
was affected.
public java.lang.String getPropertyName()
public java.lang.Object getValue()