/[Apache-SVN]
ViewVC logotype

Revision 137234


Jump to revision: Previous Next
Author: dlr
Date: Mon Jan 20 23:04:19 2003 UTC (21 years, 8 months ago)
Changed paths: 2
Log Message:
* 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.


Changed paths

Path Details
Directoryjakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java modified , text changed
Directoryjakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/exception/ExceptionUtilsTestCase.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26