axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Jordahl" <t...@macromedia.com>
Subject [Axis2] printStackTrace
Date Thu, 08 Sep 2005 14:18:21 GMT
> +            e.printStackTrace();

Probably a mistake, but Axis2 should not have any of these lying around
in it.  All stack traces should be logged, not printed to the console.

This is very unfriendly to users who embed Axis in to their stuff.

Thanks.

--
Tom Jordahl
Macromedia Server Development

> -----Original Message-----
> From: chinthaka@apache.org [mailto:chinthaka@apache.org]
> Sent: Thursday, September 08, 2005 4:31 AM
> To: axis2-cvs@ws.apache.org
> Subject: svn commit: r279536 - in
/webservices/axis2/trunk/java/modules:
> common/src/org/apache/axis2/util/ samples/src/sample/om/binary/
> xml/src/org/apache/axis2/om/impl/
xml/src/org/apache/axis2/om/impl/llom/
> 
> Author: chinthaka
> Date: Thu Sep  8 01:30:35 2005
> New Revision: 279536
> Modified:
>
webservices/axis2/trunk/java/modules/samples/src/sample/om/binary/FIUtil
.j
> ava
> URL:
>
http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/sampl
es
>
/src/sample/om/binary/FIUtil.java?rev=279536&r1=279535&r2=279536&view=di
ff
>
========================================================================
==
> ====
> ---
>
webservices/axis2/trunk/java/modules/samples/src/sample/om/binary/FIUtil
.j
> ava (original)
> +++
>
webservices/axis2/trunk/java/modules/samples/src/sample/om/binary/FIUtil
.j
> ava Thu Sep  8 01:30:35 2005
> @@ -106,6 +106,7 @@
>          } catch (XMLStreamException e) {
> 
>              throw new UnsupportedOperationException();
> 
>          } catch (FileNotFoundException e) {
> 
> +            e.printStackTrace();
> 
>              throw new UnsupportedOperationException();
> 
>          } catch (IOException e) {
> 
>              throw new UnsupportedOperationException();
> 
> 


Mime
View raw message