You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2010/11/11 20:12:56 UTC

svn commit: r1034052 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/AnnotationUtils.java

Author: sergeyb
Date: Thu Nov 11 19:12:56 2010
New Revision: 1034052

URL: http://svn.apache.org/viewvc?rev=1034052&view=rev
Log:
JAX-RS : Fixing a catch statement

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/AnnotationUtils.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/AnnotationUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/AnnotationUtils.java?rev=1034052&r1=1034051&r2=1034052&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/AnnotationUtils.java (original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/AnnotationUtils.java Thu Nov 11 19:12:56 2010
@@ -86,7 +86,7 @@ public final class AnnotationUtils {
             classes.add(HttpServletResponse.class);
             classes.add(ServletConfig.class);
             classes.add(ServletContext.class);
-        } catch (Exception ex) {
+        } catch (Throwable ex) {
             // it is not a problem on the client side and the exception will be
             // thrown later on if the injection of one of these contexts will be 
             // attempted on the server side