]> source.dussan.org Git - poi.git/commitdiff
Put more details in the error message for next time
authorNick Burch <nick@apache.org>
Thu, 19 May 2011 09:16:48 +0000 (09:16 +0000)
committerNick Burch <nick@apache.org>
Thu, 19 May 2011 09:16:48 +0000 (09:16 +0000)
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

index a031a5f662cbb95dd34b74d4cfbcf85d735767f3..7b7701644486672383d4c7c5b80e63a8ba3cbe08 100644 (file)
@@ -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()
+                       );
                }
        }