axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r351536 - in /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2: AxisFault.java engine/AxisEngine.java
Date Fri, 02 Dec 2005 00:19:19 GMT
Author: dims
Date: Thu Dec  1 16:19:16 2005
New Revision: 351536

URL: http://svn.apache.org/viewcvs?rev=351536&view=rev
Log:
comment out references to the tainted code (already moved out to stevel's scratch area)


Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/AxisFault.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/AxisFault.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/AxisFault.java?rev=351536&r1=351535&r2=351536&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/AxisFault.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/AxisFault.java Thu Dec
 1 16:19:16 2005
@@ -16,8 +16,8 @@
 
 package org.apache.axis2;
 
-import org.apache.axis2.fault.FaultCode;
-import org.apache.axis2.fault.FaultReasonList;
+//import org.apache.axis2.fault.FaultCode;
+//import org.apache.axis2.fault.FaultReasonList;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.soap.SOAPFault;
 import org.apache.axis2.soap.SOAPFaultCode;
@@ -65,7 +65,7 @@
     /**
      * Contains the faultcode
      */
-    private FaultCode faultCode=new FaultCode();
+    //private FaultCode faultCode=new FaultCode();
 
     /**
      * SOAP1.2: URI of faulting node. Null for unknown.
@@ -82,7 +82,7 @@
     /**
      * our failt reasons
      */
-    private FaultReasonList reasons=new FaultReasonList();
+    //private FaultReasonList reasons=new FaultReasonList();
 
     private OMElement detail;
 
@@ -132,7 +132,7 @@
      */
     public AxisFault(String messageText, String faultCode) {
         this(messageText);
-        setFaultCode(faultCode);
+        //setFaultCode(faultCode);
     }
 
     /**
@@ -142,7 +142,7 @@
      */
     public AxisFault(String messageText, String faultCode, Throwable cause) {
         this(messageText, cause);
-        setFaultCode(faultCode);
+        //setFaultCode(faultCode);
     }
 
 
@@ -153,7 +153,7 @@
      */
     public AxisFault(String messageText, QName faultCode, Throwable cause) {
         this(messageText, cause);
-        setFaultCode(faultCode);
+        //setFaultCode(faultCode);
     }
 
 
@@ -198,24 +198,24 @@
      */
     private void init(SOAPFault fault) {
         SOAPFaultCode faultcodesource =fault.getCode();
-        faultCode=new FaultCode(faultcodesource);
+        //faultCode=new FaultCode(faultcodesource);
         detail=fault.getDetail();
         fault.getNode();
     }
 
 
 
-    public String getFaultCode() {
-        return faultCode.getValueString();
-    }
-
-    public void setFaultCode(String soapFaultCode) {
-        faultCode.setValueString(soapFaultCode);
-    }
-
-    public void setFaultCode(QName soapFaultCode) {
-        faultCode.setValue(soapFaultCode);
-    }
+//    public String getFaultCode() {
+//        return faultCode.getValueString();
+//    }
+//
+//    public void setFaultCode(String soapFaultCode) {
+//        faultCode.setValueString(soapFaultCode);
+//    }
+//
+//    public void setFaultCode(QName soapFaultCode) {
+//        faultCode.setValue(soapFaultCode);
+//    }
 
     /**
      * Add a reason for the fault
@@ -223,7 +223,7 @@
      * @param language language
      */
     public void addReason(String text,String language) {
-        reasons.add(text,language);
+        //reasons.add(text,language);
     }
 
     /**
@@ -244,7 +244,7 @@
 
     /**
      * Iterate over all of the headers
-     * @return
+     * @return iterator
      */
     public ListIterator headerIterator() {
         return headers.listIterator();
@@ -276,7 +276,7 @@
 
     /**
      * Get the current fault detail
-     * @return
+     * @return om element
      */
     public OMElement getDetail() {
         return detail;

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java?rev=351536&r1=351535&r2=351536&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java
Thu Dec  1 16:19:16 2005
@@ -361,7 +361,7 @@
         } else if (soapException != null) {
             soapFaultCode = soapException.getFaultCode();
         } else if (e instanceof AxisFault) {
-            soapFaultCode = ((AxisFault) e).getFaultCode();
+            //soapFaultCode = ((AxisFault) e).getFaultCode();
         }
 
         // defaulting to fault code Sender, if no message is available



Mime
View raw message