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
This commit is contained in:
Nick Burch 2011-05-19 09:16:48 +00:00
parent 209a45ee66
commit 4f62006ae3

View File

@ -160,7 +160,10 @@ public abstract class OPCPackage implements RelationshipSource, Closeable {
} catch (InvalidFormatException e) { } catch (InvalidFormatException e) {
// Should never happen // Should never happen
throw new OpenXML4JRuntimeException( 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()
);
} }
} }