* src/test/org/apache/commons/lang/exception/ExceptionUtilsTestCase.java
testPrintThrowables(): Previously printing some stack traces to
stdout as part of its tests which at first glance looks like a test
failure (but in reality isn't). Here's a truncated example:
test.exception:
[echo] Running exception package tests ...
[java] .........................................
[java] ......org.apache.commons.lang.exception.ExceptionUtilsTestCase$Ex
[java] at org.apache.commons.lang.exception.ExceptionUtilsTestCase.c
[java] [wrapped] org.apache.commons.lang.exception.ExceptionUtilsTestCa
[java] at org.apache.commons.lang.exception.ExceptionUtilsTestCase.c
[java] [wrapped] org.apache.commons.lang.exception.ExceptionUtilsTestCa
[java] at org.apache.commons.lang.exception.ExceptionUtilsTestCase.c
[java] at org.apache.commons.lang.exception.ExceptionUtilsTestCase.t
* src/java/org/apache/commons/lang/exception/ExceptionUtils.java
WRAPPED_MARKER: New constant for the " [wrapped] " text used when
printing exception stack traces.
getRootCauseStackTrace(Throwable): Replaced inline " [wrapped] "
text with use of new WRAPPED_MARKER constant.
|