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:
    java.io.Serializable

      public class DynamicMethodInvocationException
      extends java.lang.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 and Description
    `DynamicMethodInvocationException(java.lang.String message, java.lang.Throwable cause)`
    `DynamicMethodInvocationException(java.lang.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 Detail

    - #### DynamicMethodInvocationException

          public DynamicMethodInvocationException(java.lang.Throwable cause)

    - #### DynamicMethodInvocationException

          public DynamicMethodInvocationException(java.lang.String message,
                                                  java.lang.Throwable cause)