DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14415>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14415

InvocationTargetExceptions could be unwrapped

           Summary: InvocationTargetExceptions could be unwrapped
           Product: Commons
           Version: 1.3 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Digester
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>

Reply via email to