safety check on throwable catch

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907660 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2023-02-14 18:20:06 +00:00
parent e431ec35c3
commit c67d140d77

View File

@ -318,7 +318,7 @@ public final class XMLHelper {
try {
property.accept(name, value);
return true;
} catch (Exception|Error e) {
} catch (Throwable e) {
if (ExceptionUtil.isFatal(e)) {
ExceptionUtil.rethrow(e);
}