From abc20e6d63bdaf2ded86f6371653dd5c8e3ec1d0 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Fri, 1 Jan 2016 16:27:50 +0000 Subject: [PATCH] Include full nested exception, not just localized message git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722502 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/poi/xssf/model/SharedStringsTable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java b/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java index 17b61a1c01..a6890c5956 100644 --- a/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java +++ b/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java @@ -127,7 +127,7 @@ public class SharedStringsTable extends POIXMLDocumentPart { cnt++; } } catch (XmlException e) { - throw new IOException(e.getLocalizedMessage()); + throw new IOException(e); } }