You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by wh...@apache.org on 2005/03/16 23:12:46 UTC
cvs commit: ws-axis/c/src/transport/axis3 HTTPTransport.cpp HTTPTransport.hpp
whitlock 2005/03/16 14:12:46
Modified: c/src/transport/axis3 HTTPTransport.cpp HTTPTransport.hpp
Log:
AXISCPP-534 Modify HTTPTransport::flushOutput to throw AxisException as well as HTTPTransportException on the signature, otherwise other AxisExceptions will get mapped to unexpected().
Revision Changes Path
1.23 +1 -1 ws-axis/c/src/transport/axis3/HTTPTransport.cpp
Index: HTTPTransport.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/transport/axis3/HTTPTransport.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- HTTPTransport.cpp 11 Mar 2005 04:33:16 -0000 1.22
+++ HTTPTransport.cpp 16 Mar 2005 22:12:46 -0000 1.23
@@ -221,7 +221,7 @@
* this will be set to TRANSPORT_FINISHED. Otherwise, an exception will have
* been thrown.
*/
-AXIS_TRANSPORT_STATUS HTTPTransport::flushOutput() throw (HTTPTransportException)
+AXIS_TRANSPORT_STATUS HTTPTransport::flushOutput() throw (AxisException, HTTPTransportException)
{
if( m_bReopenConnection)
{
1.9 +1 -1 ws-axis/c/src/transport/axis3/HTTPTransport.hpp
Index: HTTPTransport.hpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/transport/axis3/HTTPTransport.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- HTTPTransport.hpp 4 Mar 2005 14:54:56 -0000 1.8
+++ HTTPTransport.hpp 16 Mar 2005 22:12:46 -0000 1.9
@@ -72,7 +72,7 @@
*/
int setProtocol( AXIS_PROTOCOL_TYPE eProtocol);
int getSubProtocol();
- AXIS_TRANSPORT_STATUS flushOutput() throw (HTTPTransportException);
+ AXIS_TRANSPORT_STATUS flushOutput() throw (AxisException, HTTPTransportException);
void setProxy( const char *pcProxyHost, unsigned int uiProxyPort);
void setTimeout( const long lSeconds);
const char * getHTTPProtocol();