|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.springframework.core.NestedRuntimeException org.springframework.beans.BeansException org.springframework.beans.PropertyAccessException org.springframework.beans.MethodInvocationException
Thrown when a method getter or setter throws an exception, analogous to an InvocationTargetException.
Constructor Summary | |
MethodInvocationException(java.lang.Throwable ex,
java.beans.PropertyChangeEvent propertyChangeEvent)
Constructor to use when an exception results from a PropertyChangeEvent. |
Method Summary | |
java.lang.String |
getErrorCode()
Return the error code associated with this failure. |
Methods inherited from class org.springframework.beans.PropertyAccessException |
getPropertyChangeEvent |
Methods inherited from class org.springframework.core.NestedRuntimeException |
getCause, getMessage, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MethodInvocationException(java.lang.Throwable ex, java.beans.PropertyChangeEvent propertyChangeEvent)
ex
- Throwable raised by invoked methodpropertyChangeEvent
- PropertyChangeEvent that resulted in an exceptionMethod Detail |
public java.lang.String getErrorCode()
ErrorCoded
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |