public class

MethodInvocationException

extends PropertyAccessException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.beans.BeansException
             ↳ org.springframework.beans.PropertyAccessException
               ↳ org.springframework.beans.MethodInvocationException

Class Overview

Thrown when a bean property getter or setter method throws an exception, analogous to an InvocationTargetException.

Summary

Constants
String ERROR_CODE Error code that a method invocation error will be registered with.
Public Constructors
MethodInvocationException(PropertyChangeEvent propertyChangeEvent, Throwable cause)
Create a new MethodInvocationException.
Public Methods
String getErrorCode()
[Expand]
Inherited Methods
From class org.springframework.beans.PropertyAccessException
From class org.springframework.beans.BeansException
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object
From interface org.springframework.core.ErrorCoded

Constants

public static final String ERROR_CODE

Also: SpringBeans

Error code that a method invocation error will be registered with.

Constant Value: "methodInvocation"

Public Constructors

public MethodInvocationException (PropertyChangeEvent propertyChangeEvent, Throwable cause)

Also: SpringBeans

Create a new MethodInvocationException.

Parameters
propertyChangeEvent PropertyChangeEvent that resulted in an exception
cause the Throwable raised by the invoked method

Public Methods

public String getErrorCode ()

Also: SpringBeans