cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r761125 - /cxf/trunk/common/wstx-msv-validation/src/main/java/org/apache/cxf/wstx_msv_validation/WoodstoxValidationImpl.java
Date Thu, 02 Apr 2009 00:34:49 GMT
Author: bimargulies
Date: Thu Apr  2 00:34:49 2009
New Revision: 761125

URL: http://svn.apache.org/viewvc?rev=761125&view=rev
Log:
Suppress stupid stack traces.

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=761125&r1=761124&r2=761125&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
Thu Apr  2 00:34:49 2009
@@ -50,6 +50,9 @@
         } catch (Exception e) {
             /* If the dependencies are missing ... */ 
             return;
+        } catch (NoSuchMethodError nsme) {
+            // these don't inherit from 'Exception'
+            return;
         }
         
         if (null != bus) {



Mime
View raw message