You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/11/10 01:57:29 UTC

DO NOT REPLY [Bug 14415] New: - InvocationTargetExceptions could be unwrapped

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: commons-dev@jakarta.apache.org
        ReportedBy: karl@xk72.com


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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>