From ce11dfd8915d986e46c08a4384bf414928e9d48a Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Mon, 27 Jun 2016 19:57:33 +0000 Subject: [PATCH] #59766 Need to catch Errors as well when trying to tweak SAX stuff 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ooxml/java/org/apache/poi/util/SAXHelper.java b/src/ooxml/java/org/apache/poi/util/SAXHelper.java index d4d016cb3b..1fbe744b05 100644 --- a/src/ooxml/java/org/apache/poi/util/SAXHelper.java +++ b/src/ooxml/java/org/apache/poi/util/SAXHelper.java @@ -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); } } } -- 2.39.5