You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by de...@apache.org on 2007/04/27 12:09:08 UTC

svn commit: r533046 - /webservices/axis2/branches/java/1_2/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java

Author: deepal
Date: Fri Apr 27 03:09:06 2007
New Revision: 533046

URL: http://svn.apache.org/viewvc?view=rev&rev=533046
Log:
log the exception , rather than commenting that out

Modified:
    webservices/axis2/branches/java/1_2/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java

Modified: webservices/axis2/branches/java/1_2/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java?view=diff&rev=533046&r1=533045&r2=533046
==============================================================================
--- webservices/axis2/branches/java/1_2/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java (original)
+++ webservices/axis2/branches/java/1_2/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java Fri Apr 27 03:09:06 2007
@@ -30,6 +30,8 @@
 import org.apache.axis2.engine.ObjectSupplier;
 import org.apache.axis2.util.StreamWrapper;
 import org.apache.ws.java2wsdl.utils.TypeTable;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
 import org.codehaus.jam.JClass;
 import org.codehaus.jam.JProperty;
 import org.codehaus.jam.JamClassIterator;
@@ -58,6 +60,8 @@
 
     private static int nsCount = 1;
 
+    private static final Log log = LogFactory.getLog(BeanUtil.class);
+
     /**
      * To Serilize Bean object this method is used, this will create an object array using given
      * bean object
@@ -323,6 +327,7 @@
                 try {
                     beanClass = Class.forName(instanceTypeName);
                 } catch (ClassNotFoundException ce) {
+                    log.warn(ce);
                     // This breaks samples , and Need to improve a bit to fully 
                     // support this so , Exception just ignore here, we can fix
                     // that later



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org