axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eran Chinthaka (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-211) All printStackTrace() calls should be removed
Date Fri, 09 Sep 2005 17:18:30 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-211?page=comments#action_12323063 ] 

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
them 

> All printStackTrace() calls should be removed
> ---------------------------------------------
>
>          Key: AXIS2-211
>          URL: http://issues.apache.org/jira/browse/AXIS2-211
>      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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message