cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: [CXF-5943] Updating the exception catch to check Throwable, patch from Iris Ding applied
Date Wed, 13 Aug 2014 10:08:36 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes ba64841e7 -> 4d9924fea


[CXF-5943] Updating the exception catch to check Throwable, patch from Iris Ding applied


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/4d9924fe
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4d9924fe
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4d9924fe

Branch: refs/heads/3.0.x-fixes
Commit: 4d9924fea378f3950fc71b230cf2137abec2fbee
Parents: ba64841
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Wed Aug 13 11:07:01 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Wed Aug 13 11:08:19 2014 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/jaxrs/utils/ExceptionUtils.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/4d9924fe/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/ExceptionUtils.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/ExceptionUtils.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/ExceptionUtils.java
index 079310e..ed56966 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/ExceptionUtils.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/ExceptionUtils.java
@@ -79,7 +79,7 @@ public final class ExceptionUtils {
             if (mapper != null) {
                 try {
                     response = mapper.toResponse(ex);
-                } catch (Exception mapperEx) {
+                } catch (Throwable mapperEx) {
                     inMessage.getExchange().put(JAXRSUtils.EXCEPTION_FROM_MAPPER, "true");
                     mapperEx.printStackTrace();
                     return Response.serverError().build();


Mime
View raw message