 |
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
-
- All Implemented Interfaces:
- java.io.Serializable
public class MethodInvocationException
extends PropertyAccessException
Thrown when a bean property getter or setter method throws an exception,
analogous to an InvocationTargetException.
- Author:
- Rod Johnson
- See Also:
- Serialized Form
-
-
Field Summary
Fields
Modifier and Type |
Field and Description |
static java.lang.String |
ERROR_CODE
Error code that a method invocation error will be registered with.
|
-
Constructor Summary
Constructors
Constructor and Description |
MethodInvocationException(java.beans.PropertyChangeEvent propertyChangeEvent,
java.lang.Throwable cause)
Create a new MethodInvocationException.
|
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
Constructor Detail
-
MethodInvocationException
public MethodInvocationException(java.beans.PropertyChangeEvent propertyChangeEvent,
java.lang.Throwable cause)
Create a new MethodInvocationException.
- Parameters:
propertyChangeEvent - the PropertyChangeEvent that resulted in an exception
cause - the Throwable raised by the invoked method
|
|