commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitri Plotnikov <>
Subject [lang] [PATCH] ExceptionUtils.printRootCauseStackTrace
Date Fri, 08 Nov 2002 14:55:46 GMT
Check out these methods I would like to propose for ExceptionUtils. They
print very nice stack traces for nested exceptions.  The idea is based on
the observation that nested exceptions typically share a large portion of
the stack trace.   So, printRootCauseStackTrace trims those repeated parts.
See attached sample stack trace.

I attached diffs as well as full versions of the source files.  If you are
interested, just let me know, I can check this patch in myself.

- Dmitri

View raw message