Index: java/org/apache/commons/chain/generic/DispatchCommand.java =================================================================== --- java/org/apache/commons/chain/generic/DispatchCommand.java (revision 190998) +++ java/org/apache/commons/chain/generic/DispatchCommand.java (working copy) @@ -49,7 +49,10 @@ try { return evaluateResult(methodObject.invoke(this, getArguments(context))); } catch (InvocationTargetException e) { - if (e instanceof Exception) throw (Exception) e.getCause(); + Throwable cause = e.getTargetException(); + if (cause instanceof Exception) { + throw (Exception)cause; + } throw e; } }