Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Web Flow
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.binding.method
Class MethodInvocationException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  org.springframework.binding.method.MethodInvocationException

All Implemented Interfaces:
  java.io.Serializable

    public class MethodInvocationException

extends java.lang.RuntimeException

Base class for exceptions that report a method invocation failure.

Author:
  Keith Donald
See Also:
  Serialized Form

Constructor Summary
`MethodInvocationException(MethodSignature methodSignature, java.lang.Object[] arguments, java.lang.Throwable cause)` Signals that the method with the specified signature could not be invoked with the provided arguments.

Method Summary
`java.lang.Object[]` | `getArguments()` Returns the method invocation arguments.
`MethodSignature` | `getMethodSignature()` Returns the invoked method's signature.
`java.lang.Throwable` | `getTargetException()` Returns the target root cause exception of the method invocation failure.

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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(MethodSignature methodSignature,
                                     java.lang.Object[] arguments,
                                     java.lang.Throwable cause)

  Signals that the method with the specified signature could not be invoked with the provided arguments.

  Parameters:
    `methodSignature` - the method signature
    `arguments` - the arguments
    `cause` - the root cause

Method Detail

### getMethodSignature

    public MethodSignature getMethodSignature()

  Returns the invoked method's signature.

### getArguments

    public java.lang.Object[] getArguments()

  Returns the method invocation arguments.

### getTargetException

    public java.lang.Throwable getTargetException()

  Returns the target root cause exception of the method invocation failure.

  Returns:
    the target throwable

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Web Flow
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD