public class MethodInvocationException extends PropertyAccessException
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_CODE
Error code that a method invocation error will be registered with.
|
Constructor and Description |
---|
MethodInvocationException(PropertyChangeEvent propertyChangeEvent,
Throwable cause)
Create a new MethodInvocationException.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Return a corresponding error code for this type of exception.
|
getPropertyChangeEvent, getPropertyName, getValue
equals, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String ERROR_CODE
public MethodInvocationException(PropertyChangeEvent propertyChangeEvent, Throwable cause)
propertyChangeEvent
- PropertyChangeEvent that resulted in an exceptioncause
- the Throwable raised by the invoked methodpublic String getErrorCode()
PropertyAccessException
getErrorCode
in interface ErrorCoded
getErrorCode
in class PropertyAccessException
null
if not error-coded