August 2002 Commit Log

Number of Commits:
50
Number of Active Developers:
4
bayard 2002-08-31 19:05

Removed stackTrace and getStackTrace. ExceptionUtils has getStackTrace and

stackTrace is only slightly different in that it uses a ByteArrayOutputStream

and not a StringWriter. A change since the beta, but not allowing obvious ones

to happen will be silly.

1 lines of code changed in:

scolebourne 2002-08-31 11:11

Improve checkstyle report

82 lines of code changed in:

scolebourne 2002-08-31 10:51

Improve checkstyle report

8 lines of code changed in:

  • src/java/org/apache/commons/lang/enum: Enum.java (+8 -1)
dlr 2002-08-30 02:52

split(String, String, int): Integrated some good suggested

improvements from John Yu <john@scioworks.com>.





split(String, String): Referenced split(String, String, int) to avoid

maintainence overhead of duplicated JavaDoc.

11 lines of code changed in:

bayard 2002-08-28 06:02

made it run TestCases as well as Tests

1 lines of code changed in:

dlr 2002-08-26 16:40

CAUSE_METHOD_NAMES: Added "getSourceException" to list of method

names.



http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12043

2 lines of code changed in:

dlr 2002-08-26 06:03

Extend java.lang.Error rather than Exception.

1 lines of code changed in:

dlr 2002-08-26 06:00

Added a second action item for exception package tests.

2 lines of code changed in:

dlr 2002-08-26 05:59

Added action item for exception package tests.

2 lines of code changed in:

scolebourne 2002-08-25 22:18

Remove StringUtils constructors issue comment

Add todo list

28 lines of code changed in:

scolebourne 2002-08-25 22:17

Add extra system property constants

Add java version methods

348 lines of code changed in:

dlr 2002-08-25 19:18

NestableError suggested by Stephen C. Basically a clone of

NestableException.

200 lines of code changed in:

dlr 2002-08-25 19:17

Leveraged NestableDelegate.getMessage(String).

6 lines of code changed in:

dlr 2002-08-25 19:09

Renamed "cause" private field to "nestable" to better reflect what it

is.

16 lines of code changed in:

dlr 2002-08-25 19:02

getMessage(String): Corrected grammar in JavaDoc.

3 lines of code changed in:

stevencaswell 2002-08-25 13:21

removed testing of deprecated methods getLength() and indexOfThrowable(int, Class)

2 lines of code changed in:

stevencaswell 2002-08-25 13:20

removed deprecated methods getLength() and indexOfThrowable(int, Class)

3 lines of code changed in:

dlr 2002-08-24 19:18



ExceptionUtils.getThrowables(Throwable): Switched from concrete

ArrayList local reference to List.



ExceptionUtils.getStackTrace(Throwable): New method for extracting the

text of a stack trace.



ExceptionUtils.getStackFrames(Throwable): Splits an exception's stace

trace into frames.



ExceptionUtils.getStackFrames(String): Splits a stace trace into frames.



NestableDelegate printStackTrace(): Delegate to

printStackTrace(PrintStream) using System.err rather than duplicating

its impl.



NestableDelegate printStackTrace(PrintWriter): Used new name

getStackFrames() method name.



NestableDelegate getStackFrames(Throwable): Renamed decompose() to

this and delegated to ExceptionUtils.getStackFrames(String) for half

of impl.

68 lines of code changed in:

scolebourne 2002-08-23 08:00

Constrctor made public to enable those who use the class as a Bean

6 lines of code changed in:

scolebourne 2002-08-22 22:11

Initial version of SystemUtils for system constants

203 lines of code changed in:

dlr 2002-08-22 20:44

Corrected wording in KNOWN ISSUES section.

2 lines of code changed in:

dlr 2002-08-22 20:43

Corrected the anchor name for the KNOWN ISSUES section.

2 lines of code changed in:

dlr 2002-08-22 20:42

Added a KNOWN ISSUES section.

14 lines of code changed in:

dlr 2002-08-22 00:04

Applied squashing of impl of getThrowableCount(Throwable) to

getThrowables(Throwable).

1 lines of code changed in:

dlr 2002-08-22 00:03

Even shorter impl of getThrowableCount(Throwable) which returns zero

when passed a null argument.

1 lines of code changed in:

dlr 2002-08-22 00:00

testGetThrowableCount(): New method to get

ExceptionUtils.getThrowableCount() with null argument.

5 lines of code changed in:

dlr 2002-08-21 23:57

o Improved getThrowableCount(Throwable) to return zero when passed a

null argument.



o Added @param JavaDoc for methods added during last commit.

10 lines of code changed in:

dlr 2002-08-21 23:52

Moved the implementations of getThrowableCount(), getThrowables(),

indexOfThrowable(Class), and indexOfThrowable(Class, int) methods to

ExceptionUtils, as suggested by Stephen Colebourne

<scolebourne@btopenworld.com>.

4 lines of code changed in:

dlr 2002-08-21 23:51

Added the getThrowableCount(Throwable), getThrowables(Throwable),

indexOfThrowable(Throwable, Class), and indexOfThrowable(Throwable,

Class, int) methods factored out of NestableDelegate, as suggested by

Stephen Colebourne <scolebourne@btopenworld.com>. Added a TODO for

the remaining methods he suggested moving.

98 lines of code changed in:

dlr 2002-08-21 07:31

Broke long lines; no functional change.

8 lines of code changed in:

dlr 2002-08-21 07:22

o Changed type of "cause" instance field from Nestable to Throwable.

Since implementation of Throwable is already required, this doesn't

change the interface, but does simplify the internals.



o Simplified code in getThrowableCount() method by removing extraneous

null check and extra reference.



o Implemented suggestion by Joachim.Sauer@tp-soft.com to use

ExceptionUtils where Nestable.getCause() was previously called.

16 lines of code changed in:

dlr 2002-08-21 07:13

getCauseUsingWellKnownTypes(Throwable): Collapsed checks for

instanceof NestableException and NestableRuntimeException into single

check for Nestable interface.

2 lines of code changed in:

scolebourne 2002-08-15 22:37

Change HashCodeUtils to HashCodeBuilder

2 lines of code changed in:

dlr 2002-08-14 23:16

CAUSE_METHOD_PARAMS: Updated JavaDoc for recent API enchancements.

2 lines of code changed in:

dlr 2002-08-14 23:15

CAUSE_METHOD_NAMES: Updated JavaDoc for last commit.

2 lines of code changed in:

dlr 2002-08-14 23:08

CAUSE_METHOD_NAMES: Repurposed CAUSE_METHOD_NAME to be a list of

method names which may yield a wrapped exception.



getCause(Throwable): Now just wraps getCause(Throwable, String[]),

passing in CAUSE_METHOD_NAMES as its list of method names.



getCause(Throwable, String[]): Refactored code extracted from

getCause(Throwable) which looks at a list of method names, plus a

"detail" field.



getCauseUsingMethodName(): Swapped parameter order for consistency.



getCauseUsingFieldName(): New method which introspects fields instead

of methods.

81 lines of code changed in:

dlr 2002-08-14 21:05

getCause(Throwable): Refactored into two methods which are called

internally. This will allow more cause method names to be added with

ease.



getCauseUsingWellKnownTypes(Throwable): Extracted from getCause().



getCauseUsingMethodName(String, Throwable): Extracted from getCause().

77 lines of code changed in:

bayard 2002-08-14 04:51

Checked back in for consideration in 1.0

489 lines of code changed in:

dlr 2002-08-13 19:58

getCause(Throwable): Added detection of SQLException and its

getNextException() method pointed out by Costin M., Paul Jack, and

Nicola Ken Barozzi. They've also suggested some more general patterns

which we're discussing the addition of on the

commons-dev@jakarta.apache.org list.

5 lines of code changed in:

dlr 2002-08-13 18:19

getCause(Throwable): Adjusted JavaDoc of method to note the return

type of the getCause() method it checks for.

5 lines of code changed in:

dlr 2002-08-13 18:17

getCause(Throwable): Perform a softer check on the return type of the

argument's getCause() method, doing isAssignableFrom() instead of a

hard memory address comparison.

2 lines of code changed in:

dlr 2002-08-13 18:05

Added a utility for examining Throwable objects, as proposed by Costin

<costinm@covalent.net> and Henri Yandell <bayard@apache.org>. Comes complete

with a full suite of tests for initial functionality.

298 lines of code changed in:

dlr 2002-08-13 17:56

Compile the test cases without deprecation warnings, since we are

testing deprecated methods in the exception sub-package.

2 lines of code changed in:

scolebourne 2002-08-11 23:20

Add new Enum class tests to build xml

11 lines of code changed in:

scolebourne 2002-08-11 23:17

Add new Enum class (similar to enum in C) plus associated Utils and tests

1445 lines of code changed in:

dlr 2002-08-11 17:52

CONSTANT: Adjusted documentation, making it into JavaDoc. Incidently,

this constant could use a more descriptive name which better indicates

its use.

5 lines of code changed in:

scolebourne 2002-08-10 12:13

Add HashCodeUtilsTest

2 lines of code changed in:

scolebourne 2002-08-10 12:13

Test HashCodeUtils - a utility to build good hashCodes

0 lines of code changed in:

scolebourne 2002-08-10 12:12

Add HashCodeUtils - a utility to build good hashCodes

2 lines of code changed in:

bayard 2002-08-01 20:15

Added a stackTrace method. Possibly needs renaming. It's in common use in

other Jakarta projects such as Ant. Turns a Throwable into a String.

15 lines of code changed in:

July 2002 »

Generated by StatSVN 0.3.2-SNAPSHOT