You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2019/12/29 15:27:06 UTC

[GitHub] [cxf] reta commented on a change in pull request #618: On connection refused, XSLTOutInterceptor mangles the error

reta commented on a change in pull request #618: On connection refused, XSLTOutInterceptor mangles the error
URL: https://github.com/apache/cxf/pull/618#discussion_r361856660
 
 

 ##########
 File path: core/src/main/java/org/apache/cxf/feature/transform/XSLTOutInterceptor.java
 ##########
 @@ -169,7 +169,7 @@ public void onClose(CachedOutputStream wrapper) {
             } finally {
                 try {
                     origStream.close();
-                } catch (IOException e) {
+                } catch (Exception e) {
 
 Review comment:
   I am not sure what this change is for, `close()` may thrown only `IOException`

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


With regards,
Apache Git Services