|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.PropertyAccessException
public abstract class PropertyAccessException
Superclass for exceptions related to a property access, such as type mismatch or invocation target exception.
| Constructor Summary | |
|---|---|
PropertyAccessException(PropertyChangeEvent propertyChangeEvent,
String msg,
Throwable cause)
Create a new PropertyAccessException. |
|
PropertyAccessException(String msg,
Throwable cause)
Create a new PropertyAccessException without PropertyChangeEvent. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.springframework.beans.BeansException |
|---|
equals, hashCode |
| Methods inherited from class org.springframework.core.NestedRuntimeException |
|---|
contains, getMessage, getMostSpecificCause, getRootCause |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.springframework.core.ErrorCoded |
|---|
getErrorCode |
| Constructor Detail |
|---|
public PropertyAccessException(PropertyChangeEvent propertyChangeEvent,
String msg,
Throwable cause)
propertyChangeEvent - the PropertyChangeEvent that resulted in the problemmsg - the detail messagecause - the root cause
public PropertyAccessException(String msg,
Throwable cause)
msg - the detail messagecause - the root cause| Method Detail |
|---|
public PropertyChangeEvent getPropertyChangeEvent()
May be null; only available if an actual bean property
was affected.
public String getPropertyName()
public Object getValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||