You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by st...@apache.org on 2005/09/22 15:39:18 UTC

svn commit: r290944 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java

Author: stevel
Date: Thu Sep 22 06:39:15 2005
New Revision: 290944

URL: http://svn.apache.org/viewcvs?rev=290944&view=rev
Log:
if a fault of the right type exists, keep it. 

I think this catch/throw could be stripped entirely, but was being more minimal in my edits, given I can't actually build the thing right now (maven)

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java?rev=290944&r1=290943&r2=290944&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportUtils.java Thu Sep 22 06:39:15 2005
@@ -205,7 +205,8 @@
             throw new AxisFault(e);
 
         } catch (AxisFault e) {
-            throw new AxisFault(e);
+            //rethrow
+            throw e;
         } catch (OMException e) {
             throw new AxisFault(e);
         } catch (XMLStreamException e) {
@@ -295,7 +296,7 @@
         }
     }
 
-    public static final SOAPEnvelope createEnvelopeFromGetRequest(
+    public static SOAPEnvelope createEnvelopeFromGetRequest(
         String requestUrl,
         Map map) {
         String[] values =