juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcunn...@apache.org
Subject svn commit: r814980 - /webservices/juddi/trunk/uddi-client/src/main/java/org/uddi/api_v3/client/local/RequestHandler.java
Date Tue, 15 Sep 2009 03:17:39 GMT
Author: tcunning
Date: Tue Sep 15 03:17:34 2009
New Revision: 814980

URL: http://svn.apache.org/viewvc?rev=814980&view=rev
Log:
JUDDI-277
Remove unused Exception.

Modified:
    webservices/juddi/trunk/uddi-client/src/main/java/org/uddi/api_v3/client/local/RequestHandler.java

Modified: webservices/juddi/trunk/uddi-client/src/main/java/org/uddi/api_v3/client/local/RequestHandler.java
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/uddi-client/src/main/java/org/uddi/api_v3/client/local/RequestHandler.java?rev=814980&r1=814979&r2=814980&view=diff
==============================================================================
--- webservices/juddi/trunk/uddi-client/src/main/java/org/uddi/api_v3/client/local/RequestHandler.java
(original)
+++ webservices/juddi/trunk/uddi-client/src/main/java/org/uddi/api_v3/client/local/RequestHandler.java
Tue Sep 15 03:17:34 2009
@@ -164,57 +164,7 @@
       // this child to the soap response body
       document.appendChild(element.getFirstChild());
       setResponse(document);
-    }/*
-    catch (RegistryException rex) 
-    {
-    	log.error(rex.getMessage());
-    	
-        // All RegistryException and subclasses of RegistryException
-        // should contain values for populating a SOAP Fault as well
-        // as a UDDI DispositionReport with specific information 
-        // about the problem.
-    	// SOAP Fault values
-    	String faultCode = "";
-    	String faultString = "";
-    	String faultActor = "";
-        
-    	String errno = null;
-    	String errText = null;
-    	String errCode = null;
-    	
-        // UDDI DispositionReport values
-        DispositionReport dispRpt = rex.getFaultInfo();
-        if (dispRpt != null)
-        {
-          Result result = null;
-          ErrInfo errInfo = null;
-        
-          List<Result> results = dispRpt.getResult();
-          if ((results != null) && (!results.isEmpty()))
-            result = (Result)results.get(0);
-        
-          if (result != null)
-          {
-            errno = String.valueOf(result.getErrno());  // UDDI Result errno
-            errInfo = result.getErrInfo();
-          
-            if (errInfo != null)
-            {
-              errCode = errInfo.getErrCode();  // UDDI ErrInfo errCode
-              errText = errInfo.getValue();  // UDDI ErrInfo errMsg
-            }
-          }
-        }
-        // We should have everything we need to assemble 
-        // the SOAPFault so lets piece it together and 
-        // send it on it's way.
-        String fault = null;
-        //String fault = "faultCode=" + faultCode + ", faultString=" + faultString 
-    	//+ ", faultActor=" + faultActor + ", errno=" + errno + ", errCode=" + errCode
-    	//+ ", errText=" + errText;
-        setException(fault);
-        
-    } */
+    }
     catch(Exception ex) // Catch any other exceptions
     {
         log.error(ex.getMessage());



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


Mime
View raw message