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 pr...@apache.org on 2006/02/06 15:36:01 UTC

svn commit: r375286 - in /webservices/axis/trunk/c/src/xml/xerces: XMLParserXerces.cpp XMLParserXerces.h

Author: prestonf
Date: Mon Feb  6 06:36:01 2006
New Revision: 375286

URL: http://svn.apache.org/viewcvs?rev=375286&view=rev
Log:
XMLParserXerces was not letting HTTPTransportException exceptions through and was re-throwing them as AxisParseException exceptions.

Modified:
    webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.cpp
    webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.h

Modified: webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.cpp?rev=375286&r1=375285&r2=375286&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.cpp (original)
+++ webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.cpp Mon Feb  6 06:36:01 2006
@@ -113,7 +113,11 @@
 
 			throw AxisParseException( CLIENT_SOAP_CONTENT_NOT_SOAP, pErrorMsg);
 		}
-		catch (...)
+		catch( HTTPTransportException & e)
+		{
+			throw;
+		}
+		catch( ...)
 		{
 			char *	pErrorMsg = "Unexpected Exception in SAX parser.  Probably no message or the message is not recognised as XML.";
 

Modified: webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.h
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.h?rev=375286&r1=375285&r2=375286&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.h (original)
+++ webservices/axis/trunk/c/src/xml/xerces/XMLParserXerces.h Mon Feb  6 06:36:01 2006
@@ -36,6 +36,7 @@
 #include <xercesc/framework/XMLPScanToken.hpp>
 #include "SoapInputSource.h"
 #include "../AxisParseException.h"
+#include "../../transport/axis3/HTTPTransportException.hpp"
 
 XERCES_CPP_NAMESPACE_USE