commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14415] New: - InvocationTargetExceptions could be unwrapped
Date Sun, 10 Nov 2002 00:57:29 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message