[jdom-interest] JDOMException.printStackTrace()

Jason Hunter jhunter at collab.net
Thu Mar 8 15:22:05 PST 2001


"Rosen, Alex" wrote:
> 
> I believe that JDOMException.printStackTrace() should *not* print its own stack
> trace - it should only print the stack trace of the root cause (when there is a
> root cause). The JDOMException's stack trace is always basically a subset of
> the root cause's. For example:

The stack trace is not "always" a subset.  You could propose that if a
JDOMException has a root cause we should only print the root cause, but
I don't like suppressing information in an error message.  Sometimes the
outside stack trace is important.

-jh-



More information about the jdom-interest mailing list