axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r500479 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/JAXBUtils.java
Date Sat, 27 Jan 2007 05:09:06 GMT
Author: dims
Date: Fri Jan 26 21:09:05 2007
New Revision: 500479

URL: http://svn.apache.org/viewvc?view=rev&rev=500479
Log:
Fix for AXIS2-2044 - Misleading ClassNotFoundException

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/JAXBUtils.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/JAXBUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/JAXBUtils.java?view=diff&rev=500479&r1=500478&r2=500479
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/JAXBUtils.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/message/databinding/JAXBUtils.java
Fri Jan 26 21:09:05 2007
@@ -391,8 +391,7 @@
 	        //Catch Throwable as ClassLoader can throw an NoClassDefFoundError that
 	        //does not extend Exception. So we will absorb any Throwable exception here.
 	    } catch (Throwable e) {
-	        // Exception is thrown if class does not exist.
-	    	e.printStackTrace();
+	       log.info("ObjectFactory Class Not Found");
 	    }
 	    
         try {
@@ -403,8 +402,7 @@
             //Catch Throwable as ClassLoader can throw an NoClassDefFoundError that
 	        //does not extend Exception. So we will absorb any Throwable exception here.
         } catch (Throwable e) {
-            // Exception is thrown if class does not exist.
-        	e.printStackTrace();
+            log.info("package-info Class Not Found");
         }
 
 	    return false;



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


Mime
View raw message