com.interface21.beans
Class MethodInvocationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.interface21.core.NestedRuntimeException
|
+--com.interface21.beans.BeansException
|
+--com.interface21.beans.PropertyAccessException
|
+--com.interface21.beans.MethodInvocationException
- All Implemented Interfaces:
- HasRootCause, java.io.Serializable
- public class MethodInvocationException
- extends PropertyAccessException
Thrown when a method getter or setter throws an exception
(analogous to an InvocationTargetException)
- Version:
- $Revision: 1.2 $
- Author:
- Rod Johnson
- See Also:
- Serialized Form
|
Constructor Summary |
MethodInvocationException(java.lang.Throwable t,
java.beans.PropertyChangeEvent propertyChangeEvent)
|
MethodInvocationException(java.lang.Throwable t,
java.lang.String methodName)
Constructor to use when an exception results from
a method invocation, and there is no PropertyChangeEvent |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MethodInvocationException
public MethodInvocationException(java.lang.Throwable t,
java.beans.PropertyChangeEvent propertyChangeEvent)
- Parameters:
t - throwable raised by invoked methodpropertyChangeEvent - PropertyChangeEvent that resulted in an exception
MethodInvocationException
public MethodInvocationException(java.lang.Throwable t,
java.lang.String methodName)
- Constructor to use when an exception results from
a method invocation, and there is no PropertyChangeEvent
- Parameters:
t - throwable root causemethodName - name of the method we were trying to invoke
Rod Johnson and Spring contributors 2001-2003.