Class MethodInvocationException

All Implemented Interfaces:
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:
  • Field Details

    • ERROR_CODE

      public static final String ERROR_CODE
      Error code that a method invocation error will be registered with.
      See Also:
  • Constructor Details

    • MethodInvocationException

      public MethodInvocationException(PropertyChangeEvent propertyChangeEvent, @Nullable Throwable cause)
      Create a new MethodInvocationException.
      Parameters:
      propertyChangeEvent - the PropertyChangeEvent that resulted in an exception
      cause - the Throwable raised by the invoked method
  • Method Details