From: Nick Burch Date: Thu, 19 May 2011 09:16:48 +0000 (+0000) Subject: Put more details in the error message for next time X-Git-Tag: REL_3_8_BETA3~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5db6fab75f86f7cf4c6bba2f9c7380068bc3e14e;p=poi.git Put more details in the error message for next time git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1124622 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java b/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java index a031a5f662..7b77016444 100644 --- a/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java +++ b/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java @@ -160,7 +160,10 @@ public abstract class OPCPackage implements RelationshipSource, Closeable { } catch (InvalidFormatException e) { // Should never happen throw new OpenXML4JRuntimeException( - "Package.init() : this exception should never happen, if you read this message please send a mail to the developers team."); + "Package.init() : this exception should never happen, " + + "if you read this message please send a mail to the developers team. : " + + e.getMessage() + ); } }