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 17b61a1c0..a6890c595 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); } }