| 1 | package org.springframework.batch.item.adapter; |
| 2 | |
| 3 | import org.springframework.util.MethodInvoker; |
| 4 | |
| 5 | /** |
| 6 | * Indicates an error has been encountered |
| 7 | * while trying to dynamically call a method e.g. using {@link MethodInvoker}. |
| 8 | * |
| 9 | * @author Robert Kasanicky |
| 10 | */ |
| 11 | public class DynamicMethodInvocationException extends RuntimeException { |
| 12 | |
| 13 | //generated value |
| 14 | private static final long serialVersionUID = -6056786139731564040L; |
| 15 | |
| 16 | public DynamicMethodInvocationException(Throwable cause){ |
| 17 | super(cause); |
| 18 | } |
| 19 | |
| 20 | public DynamicMethodInvocationException(String message, Throwable cause) { |
| 21 | super(message, cause); |
| 22 | } |
| 23 | } |