public abstract class PropertyAccessException extends BeansException implements ErrorCoded
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 |
---|---|
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.
|
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
public PropertyAccessException(PropertyChangeEvent propertyChangeEvent, String msg, Throwable cause)
propertyChangeEvent
- the PropertyChangeEvent that resulted in the problemmsg
- the detail messagecause
- the root causepublic PropertyChangeEvent getPropertyChangeEvent()
May be null
; only available if an actual bean property
was affected.
public String getPropertyName()
public Object getValue()