Package org.springframework.batch.item.adapter

# Class DynamicMethodInvocationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.item.adapter.DynamicMethodInvocationException

All Implemented Interfaces:
  `Serializable`

public class DynamicMethodInvocationException extends RuntimeException
Indicates an error has been encountered while trying to dynamically invoke a method e.g. using `MethodInvoker`. The exception should be caused by a failed invocation of a method, it shouldn't be used to wrap an exception thrown by successfully invoked method.

Author:
  Robert Kasanicky
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DynamicMethodInvocationException(String message, Throwable cause)`
  `DynamicMethodInvocationException(Throwable cause)`

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 Details

  - ### DynamicMethodInvocationException

    public DynamicMethodInvocationException(Throwable cause)

  - ### DynamicMethodInvocationException

    public DynamicMethodInvocationException(String message, Throwable cause)