Commits

Anonymous committed 1930fbc

resolves XW-95 -- exceptions are no longer swallowed

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@141e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits 1fb835a

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork/util/CompoundRootAccessor.java

                     Throwable reason = e.getReason();
                     if (mc != null && reason != null && reason.getClass() == NoSuchMethodException.class) {
                         invalidMethods.put(mc, Boolean.TRUE);
+                    } else if (reason != null) {
+                        throw new MethodFailedException(o, name, e.getReason());
                     }
                 }
             }