axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r358478 - in /webservices/axis2/trunk/java/modules: core/src/org/apache/axis2/deployment/DescriptionBuilder.java wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
Date Thu, 22 Dec 2005 03:58:59 GMT
Author: deepal
Date: Wed Dec 21 19:58:46 2005
New Revision: 358478

URL: http://svn.apache.org/viewcvs?rev=358478&view=rev
Log:
removed print stack trace in schema generator

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java
    webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java?rev=358478&r1=358477&r2=358478&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DescriptionBuilder.java
Wed Dec 21 19:58:46 2005
@@ -45,6 +45,7 @@
  * To do the common tasks for all *Builder class
  */
 public class DescriptionBuilder implements DeploymentConstants {
+
     protected Log log = LogFactory.getLog(getClass());
     protected AxisConfiguration axisConfig;
 

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java?rev=358478&r1=358477&r2=358478&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
(original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
Wed Dec 21 19:58:46 2005
@@ -1,6 +1,8 @@
 package org.apache.axis2.wsdl.java2wsdl;
 
 import org.apache.axis2.wsdl.java2wsdl.bytecode.MethodTable;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
 import org.apache.ws.commons.schema.*;
 import org.codehaus.jam.*;
 
@@ -27,6 +29,7 @@
 
 public class SchemaGenerator {
 
+    protected Log log = LogFactory.getLog(getClass());
     private ClassLoader classLoader;
     private String className;
     private XmlSchema schema;
@@ -69,7 +72,7 @@
             Class clazz = Class.forName(className, true, loader);
             methodTable = new MethodTable(clazz);
         } catch (Exception e) {
-            e.printStackTrace();
+            log.info("Error in loading service impl class for byte code reading : " + e.getMessage());
         }
     }
 



Mime
View raw message