poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1124622 - /poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/OPCPackage.java
Date Thu, 19 May 2011 09:16:48 GMT
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: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message