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 ClientStubWriter.java
Date Tue, 15 Feb 2005 14:56:17 GMT
whitlock    2005/02/15 06:56:16

  Modified:    c/include/axis SoapFaultException.hpp
               c/src/soap SoapFaultException.cpp
               c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal
                        ClientStubWriter.java
  Log:
  Added in a throw() to ~SoapFaultException() because it fails to build on AIX and Linux
  Changed throw SoapFaultException(e) to throw when the caught exception is not a soap fault
in generated client stub
  
  Revision  Changes    Path
  1.2       +1 -1      ws-axis/c/include/axis/SoapFaultException.hpp
  
  Index: SoapFaultException.hpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/SoapFaultException.hpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SoapFaultException.hpp	15 Feb 2005 10:54:56 -0000	1.1
  +++ SoapFaultException.hpp	15 Feb 2005 14:56:16 -0000	1.2
  @@ -44,7 +44,7 @@
   	SoapFaultException();
   	SoapFaultException(AxisChar *code, AxisChar *string, AxisChar *actor, int exceptionCode);
   	SoapFaultException(AxisException& ae);
  -	virtual ~SoapFaultException();
  +	virtual ~SoapFaultException() throw();
   
   	virtual const AxisChar *getFaultCode() const;
   	virtual const AxisChar *getFaultString() const;
  
  
  
  1.2       +1 -1      ws-axis/c/src/soap/SoapFaultException.cpp
  
  Index: SoapFaultException.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/SoapFaultException.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SoapFaultException.cpp	15 Feb 2005 10:54:56 -0000	1.1
  +++ SoapFaultException.cpp	15 Feb 2005 14:56:16 -0000	1.2
  @@ -57,7 +57,7 @@
   	m_actor = NULL;
   }
   
  -SoapFaultException::~SoapFaultException()
  +SoapFaultException::~SoapFaultException() throw()
   {
   	if (NULL != m_code) delete [] m_code;
   	if (NULL != m_string) delete [] m_string;
  
  
  
  1.65      +1 -1      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.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- ClientStubWriter.java	15 Feb 2005 10:54:55 -0000	1.64
  +++ ClientStubWriter.java	15 Feb 2005 14:56:16 -0000	1.65
  @@ -927,7 +927,7 @@
               "\t\tif(AXISC_NODE_VALUE_MISMATCH_EXCEPTION != iExceptionCode)\n");
           writer.write("\t\t{\n");
           writer.write("\t\t\tm_pCall->unInitialize();\n");
  -        writer.write("\t\t\tthrow SoapFaultException(e);\n");
  +        writer.write("\t\t\tthrow;\n");
           writer.write("\t\t}\n");
           writer.write(
               "\t\tISoapFault* pSoapFault = (ISoapFault*)\n");
  
  
  

Mime
View raw message