]> source.dussan.org Git - poi.git/commitdiff
#59766 Need to catch Errors as well when trying to tweak SAX stuff
authorNick Burch <nick@apache.org>
Mon, 27 Jun 2016 19:57:33 +0000 (19:57 +0000)
committerNick Burch <nick@apache.org>
Mon, 27 Jun 2016 19:57:33 +0000 (19:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750408 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/util/SAXHelper.java

index d4d016cb3b05b01b80f788f7f7989dccd37e1032..1fbe744b05d9f560ee3930fcd58bcf18f8224275 100644 (file)
@@ -90,6 +90,8 @@ public final class SAXHelper {
                 return;
             } catch (Exception e) {
                 logger.log(POILogger.WARN, "SAX Security Manager could not be setup", e);
+            } catch (Error err) {
+                logger.log(POILogger.WARN, "SAX Security Manager could not be setup", err);
             }
         }
     }