cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1072200 - /cxf/trunk/common/wstx-msv-validation/src/main/java/org/apache/cxf/wstx_msv_validation/WoodstoxValidationImpl.java
Date Fri, 18 Feb 2011 23:43:09 GMT
Author: dkulp
Date: Fri Feb 18 23:43:08 2011
New Revision: 1072200

URL: http://svn.apache.org/viewvc?rev=1072200&view=rev
Log:
[CXF-3077] Catch any exception and disable the validation.

Modified:
    cxf/trunk/common/wstx-msv-validation/src/main/java/org/apache/cxf/wstx_msv_validation/WoodstoxValidationImpl.java

Modified: cxf/trunk/common/wstx-msv-validation/src/main/java/org/apache/cxf/wstx_msv_validation/WoodstoxValidationImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/wstx-msv-validation/src/main/java/org/apache/cxf/wstx_msv_validation/WoodstoxValidationImpl.java?rev=1072200&r1=1072199&r2=1072200&view=diff
==============================================================================
--- cxf/trunk/common/wstx-msv-validation/src/main/java/org/apache/cxf/wstx_msv_validation/WoodstoxValidationImpl.java
(original)
+++ cxf/trunk/common/wstx-msv-validation/src/main/java/org/apache/cxf/wstx_msv_validation/WoodstoxValidationImpl.java
Fri Feb 18 23:43:08 2011
@@ -48,12 +48,8 @@ public class WoodstoxValidationImpl impl
         
         try {
             utils = new Stax2ValidationUtils();
-        } catch (Exception e) {
-            LOG.log(Level.INFO, "Problem initializing MSV validation", e);
-            return;
-        } catch (NoSuchMethodError nsme) {
-            LOG.log(Level.INFO, "Problem initializing MSV validation", nsme);
-            // these don't inherit from 'Exception'
+        } catch (Throwable e) {
+            LOG.log(Level.FINE, "Problem initializing MSV validation", e);
             return;
         }
         



Mime
View raw message