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, getValue
contains, getMessage, getMostSpecificCause, getRootCause
public 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()
PropertyAccessException
getErrorCode
in class PropertyAccessException