axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eran Chinthaka (JIRA)" <>
Subject [jira] Commented: (AXIS2-211) All printStackTrace() calls should be removed
Date Fri, 09 Sep 2005 17:18:30 GMT
    [ ] 

Eran Chinthaka commented on AXIS2-211:

I removed all the printStacktraces from the code, but still there are some in the Test classes.
Are we keeping them or removing them too .... Just asking to know your ideas before removing

> All printStackTrace() calls should be removed
> ---------------------------------------------
>          Key: AXIS2-211
>          URL:
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>     Reporter: Tom Jordahl
>     Priority: Minor

> Recently some code was checked in to the Axis2 tree that included code like the following:
> catch (Exception e) {
>   e.printStackTrace();
>   throw new BadThingHappened();
> }
> Printing the stack trace to stdout is not nice when Axis is embeded in to some other
system.  The trace should either be logged or ignored and the original exception should probably
be preserved in the newly throw exception.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message