RESOLVED - BATCH-1094: SimpleMethodInvoker discards original exception

preserve stacktrace when rethrowing
This commit is contained in:
robokaso
2009-02-23 21:12:19 +00:00
parent cc47fa82d9
commit 03f22512d6

View File

@@ -95,7 +95,7 @@ public class SimpleMethodInvoker implements MethodInvoker {
return method.invoke(object, invokeArgs);
} catch (Exception e) {
throw new IllegalArgumentException("Unable to invoke method: [" + method + "] on object: [" +
object + "] with arguments: [" + Arrays.toString(args) + "]");
object + "] with arguments: [" + Arrays.toString(args) + "]", e);
}
}