Commons Digester
  1. Commons Digester
  2. DIGESTER-62

InvocationTargetExceptions could be unwrapped

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      InvocationTargetExceptions may be thrown by all the bean utils method
      invocations used in Digester. These are logged and rethrown as SAXExceptions
      as is.

      I believe it would be easier to debug if these were unwrapped and the original
      exception (the target exception) is logged and wrapped in a SAXException.

      This is possibly easier to implement in the Digester class itself on the
      Exceptions thrown from Rules, rather than in each rule. I am happy to write a
      patch along these lines.

      What do you think?

      cheers,
      k@rl

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Karl von Randow
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development