axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whitl...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal ParmHeaderFileWriter.java
Date Thu, 17 Feb 2005 11:24:56 GMT
whitlock    2005/02/17 03:24:56

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        ParmHeaderFileWriter.java
  Log:
  AXISCPP-451 Make generated faults compile on linux
  
  Revision  Changes    Path
  1.31      +4 -1      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ParmHeaderFileWriter.java
  
  Index: ParmHeaderFileWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ParmHeaderFileWriter.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- ParmHeaderFileWriter.java	15 Feb 2005 10:54:55 -0000	1.30
  +++ ParmHeaderFileWriter.java	17 Feb 2005 11:24:56 -0000	1.31
  @@ -348,7 +348,10 @@
       {
           try
           {
  -            writer.write("\t~" + classname + "();\n");
  +            if (this.type.isFault())
  +                writer.write("\t~" + classname + "() throw();\n");
  +            else
  +                writer.write("\t~" + classname + "();\n");
           }
           catch (IOException e)
           {
  
  
  

Mime
View raw message