Uploaded image for project: 'Commons Digester'
  1. Commons Digester
  2. DIGESTER-62

InvocationTargetExceptions could be unwrapped

    Details

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

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      14415

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              karl@xk72.com Karl von Randow
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: