axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/transport/axis3 HTTPTransport.cpp
Date Mon, 08 Aug 2005 09:40:15 GMT
samisa      2005/08/08 02:40:15

  Modified:    c/src/transport/axis3 HTTPTransport.cpp
  Log:
  improved server sent error message formatting in exceeption. AXISCPP-726
  
  Revision  Changes    Path
  1.38      +1 -0      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.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- HTTPTransport.cpp	26 Jul 2005 16:23:43 -0000	1.37
  +++ HTTPTransport.cpp	8 Aug 2005 09:40:15 -0000	1.38
  @@ -604,6 +604,7 @@
                   if ( m_iResponseHTTPStatusCode != 500 &&
                       ( m_iResponseHTTPStatusCode < 200 || m_iResponseHTTPStatusCode >=
300 ))
   				{
  +                                    m_strResponseHTTPStatusMessage = std::string("\n Server
sent HTTP error: '") + m_strResponseHTTPStatusMessage + std::string("'\n");
   				    throw HTTPTransportException( SERVER_TRANSPORT_HTTP_EXCEPTION,
   												  const_cast <char *> (m_strResponseHTTPStatusMessage.c_str()));
   				}
  
  
  

Mime
View raw message