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:
  • Constructor Details

    • DynamicMethodInvocationException

      public DynamicMethodInvocationException(Throwable cause)
    • DynamicMethodInvocationException

      public DynamicMethodInvocationException(String message, Throwable cause)