Author: nick
Date: Thu May 19 09:16:48 2011
New Revision: 1124622
URL: http://svn.apache.org/viewvc?rev=1124622&view=rev
Log:
Put more details in the error message for next time
Modified:
poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java
Modified: poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java
URL:
http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java?rev=1124622&r1=1124621&r2=1124622&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java
(original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java Thu
May 19 09:16:48 2011
@@ -160,7 +160,10 @@ public abstract class OPCPackage impleme
} 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()
+ );
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]