cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] sberyozkin closed pull request #345: When failing to close conduit, distinct read faults from write faults
Date Thu, 01 Jan 1970 00:00:00 GMT
sberyozkin closed pull request #345: When failing to close conduit, distinct read faults from
write faults

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/core/src/main/java/org/apache/cxf/interceptor/ b/core/src/main/java/org/apache/cxf/interceptor/
index 8288a70d353..211a2187854 100644
--- a/core/src/main/java/org/apache/cxf/interceptor/
+++ b/core/src/main/java/org/apache/cxf/interceptor/
@@ -20,6 +20,7 @@
 package org.apache.cxf.interceptor;
 import java.util.ResourceBundle;
 import org.apache.cxf.common.i18n.BundleUtils;
@@ -60,6 +61,8 @@ public MessageSenderEndingInterceptor() {
         public void handleMessage(Message message) throws Fault {
             try {
+            } catch (SocketTimeoutException e) {
+                throw new Fault(new org.apache.cxf.common.i18n.Message("COULD_NOT_RECEIVE",
BUNDLE), e);
             } catch (IOException e) {
                 throw new Fault(new org.apache.cxf.common.i18n.Message("COULD_NOT_SEND",
BUNDLE), e);
diff --git a/core/src/main/java/org/apache/cxf/interceptor/ b/core/src/main/java/org/apache/cxf/interceptor/
index 0b32feea3ea..a0f7b15212a 100644
--- a/core/src/main/java/org/apache/cxf/interceptor/
+++ b/core/src/main/java/org/apache/cxf/interceptor/
@@ -29,6 +29,7 @@ NO_DATAREADER=No DataReader is available for Service: {0}
 NO_DATAWRITER=No DataWriter is available for Service: {0}
 COULD_NOT_UNRWAP=Could not unwrap message parts.
 COULD_NOT_SEND=Could not send Message.
+COULD_NOT_RECEIVE=Could not receive Message.
 NO_PART_FOUND=Message part {0} was not recognized.  (Does it exist in service WSDL?)
 ORDERED_PARAM_REQUIRED=Parameter should be ordered in the following sequence: {0}
 WRITE_ATTACHMENTS=Could not write attachments.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message