From 5db6fab75f86f7cf4c6bba2f9c7380068bc3e14e Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Thu, 19 May 2011 09:16:48 +0000 Subject: [PATCH] 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 --- src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() + ); } } -- 2.39.5