axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis AxisFault.java
Date Tue, 18 Feb 2003 04:17:49 GMT
gdaniels    2003/02/17 20:17:49

  Modified:    java/src/org/apache/axis AxisFault.java
  Log:
  Replace setFaultCode(String) API, marking it deprecated.
  
  Fixes:
  
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15909
  
  Revision  Changes    Path
  1.73      +11 -0     xml-axis/java/src/org/apache/axis/AxisFault.java
  
  Index: AxisFault.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/AxisFault.java,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- AxisFault.java	7 Feb 2003 19:26:20 -0000	1.72
  +++ AxisFault.java	18 Feb 2003 04:17:49 -0000	1.73
  @@ -364,7 +364,18 @@
       public void setFaultCode(QName code) {
           faultCode = code ;
       }
  +    
  +    /**
  +     * Set the fault code (as a String).
  +     * 
  +     * @deprecated expect to see this go away after 1.1, use
  +     *             setFaultCodeAsString instead!
  +     */ 
   
  +    public void setFaultCode(String code) {
  +        setFaultCodeAsString(code);
  +    }
  +    
       /**
        * set a fault code string that is turned into a qname
        * in the SOAP 1.1 or 1.2 namespace, depending on the current context
  
  
  

Mime
View raw message