axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntha...@apache.org
Subject svn commit: r524817 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/runtime/description/marshal/impl/PackageSetBuilder.java
Date Mon, 02 Apr 2007 15:55:28 GMT
Author: nthaker
Date: Mon Apr  2 08:55:28 2007
New Revision: 524817

URL: http://svn.apache.org/viewvc?view=rev&rev=524817
Log:
Axis2-2420

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/runtime/description/marshal/impl/PackageSetBuilder.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/runtime/description/marshal/impl/PackageSetBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/runtime/description/marshal/impl/PackageSetBuilder.java?view=diff&rev=524817&r1=524816&r2=524817
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/runtime/description/marshal/impl/PackageSetBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/runtime/description/marshal/impl/PackageSetBuilder.java
Mon Apr  2 08:55:28 2007
@@ -261,7 +261,21 @@
                                                    MarshalServiceRuntimeDescription msrd)
{
 
         FaultBeanDesc faultBeanDesc = msrd.getFaultBeanDesc(faultDesc);
+        if(faultBeanDesc == null){
+        	if(log.isDebugEnabled()){
+        		log.debug("faultBeanDesc from MarshallServiceRuntimeDescription is null");
+        	}
+        	//NO FaultBeanDesc found nothing we can do.
+        	return;
+        }
         String faultBeanName = faultBeanDesc.getFaultBeanClassName();
+        if(faultBeanName == null){
+        	if(log.isDebugEnabled()){
+        		log.debug("FaultBeanName is null");
+        	}
+        	//We cannot load the faultBeanName
+        	return;
+        }
         Class faultBean = loadClass(faultBeanName);
         if (faultBean != null) {
             setTypeAndElementPackages(faultBean, faultBeanDesc.getFaultBeanNamespace(),



---------------------------------------------------------------------
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