public class MethodInvocationException extends PropertyAccessException
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ERROR_CODE
Error code that a method invocation error will be registered with.
|
| Constructor and Description |
|---|
MethodInvocationException(java.beans.PropertyChangeEvent propertyChangeEvent,
java.lang.Throwable cause)
Create a new MethodInvocationException.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorCode()
Return a corresponding error code for this type of exception.
|
getPropertyChangeEvent, getPropertyName, getValueequals, hashCodecontains, getMessage, getMostSpecificCause, getRootCausepublic static final java.lang.String ERROR_CODE
public MethodInvocationException(java.beans.PropertyChangeEvent propertyChangeEvent,
java.lang.Throwable cause)
propertyChangeEvent - PropertyChangeEvent that resulted in an exceptioncause - the Throwable raised by the invoked methodpublic java.lang.String getErrorCode()
PropertyAccessExceptiongetErrorCode in interface org.springframework.core.ErrorCodedgetErrorCode in class PropertyAccessException