axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r531535 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/HTTPSender.java
Date Mon, 23 Apr 2007 16:54:00 GMT
Author: dims
Date: Mon Apr 23 09:54:00 2007
New Revision: 531535

URL: http://svn.apache.org/viewvc?view=rev&rev=531535
Log:
add better log.info on failure

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/HTTPSender.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/HTTPSender.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/HTTPSender.java?view=diff&rev=531535&r1=531534&r2=531535
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/HTTPSender.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/HTTPSender.java
Mon Apr 23 09:54:00 2007
@@ -103,6 +103,7 @@
             executeMethod(httpClient, msgContext, url, getMethod);
             handleResponse(msgContext, getMethod);
         } catch (IOException e) {
+            log.info("Unable to sendViaGet to url[" + url + "]", e);
             throw AxisFault.makeFault(e);
         }
 
@@ -128,6 +129,7 @@
             executeMethod(httpClient, msgContext, url, deleteMethod);
             handleResponse(msgContext, deleteMethod);
         } catch (IOException e) {
+            log.info("Unable to sendViaDelete to url[" + url + "]", e);
             throw AxisFault.makeFault(e);
         }
 
@@ -179,6 +181,7 @@
             executeMethod(httpClient, msgContext, url, postMethod);
             handleResponse(msgContext, postMethod);
         } catch (IOException e) {
+            log.info("Unable to sendViaPost to url[" + url + "]", e);
             throw AxisFault.makeFault(e);
         }
 
@@ -231,7 +234,7 @@
             executeMethod(httpClient, msgContext, url, putMethod);
             handleResponse(msgContext, putMethod);
         } catch (IOException e) {
-            log.info("Unable to POST to url[" + url + "]", e);
+            log.info("Unable to sendViaPut to url[" + url + "]", e);
             throw AxisFault.makeFault(e);
         }
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message