axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal ClientStubWriter.java
Date Tue, 15 Jun 2004 11:18:43 GMT
damitha     2004/06/15 04:18:43

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        ClientStubWriter.java
  Log:
  
  
  Revision  Changes    Path
  1.29      +5 -4      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ClientStubWriter.java
  
  Index: ClientStubWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ClientStubWriter.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- ClientStubWriter.java	14 Jun 2004 12:07:24 -0000	1.28
  +++ ClientStubWriter.java	15 Jun 2004 11:18:43 -0000	1.29
  @@ -471,11 +471,12 @@
   					faultType = WrapperUtils.getClassNameFromParamInfoConsideringArrays(par,wscontext);
   					writeExceptions(faultType,faultInfoName,paramName,langName);
   					}
  +				writer.write("\t\t\telse{ \n");
  +				writer.write("\t\t\t\t  cFaultdetail = m_pCall->getElementAsString(\"faultdetail\",
0);\n");//damitha
  +				writer.write("\t\t\t\t  throw AxisException(cFaultdetail);\n");//damitha
  +				writer.write("\t\t\t}\n");
   				}
  -			writer.write("\t\t\telse{ \n");
  -			writer.write("\t\t\t\t  cFaultdetail = m_pCall->getElementAsString(\"faultdetail\",
0);\n");//damitha
  -			writer.write("\t\t\t\t  throw AxisException(cFaultdetail);\n");//damitha
  -			writer.write("\t\t\t}\n");
  +			
   			writer.write("\t\t}\n");//damitha
   			writer.write("\t\telse throw;\n");//damitha
   			writer.write("\t}\n");//damitha
  
  
  

Mime
View raw message