aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2024-07-10 11:39:27 +0000
committerPJ Fanning <fanningpj@apache.org>2024-07-10 11:39:27 +0000
commita0008d6764e351557bc62eba9b1509c0f2ff9a68 (patch)
tree35021d436d89dadc24cdf00a632ae678b29a7312 /poi-ooxml
parent302b43641f6329dbf02c8816950dd4c554327288 (diff)
downloadpoi-a0008d6764e351557bc62eba9b1509c0f2ff9a68.tar.gz
poi-a0008d6764e351557bc62eba9b1509c0f2ff9a68.zip
update exception message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919091 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml')
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java
index acfe0ff2f8..d4d363c1f3 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java
@@ -67,7 +67,7 @@ public final class ZipPartMarshaller implements PartMarshaller {
throws OpenXML4JException {
if (!(os instanceof ZipArchiveOutputStream)) {
LOG.atError().log("Unexpected class {}", os.getClass().getName());
- throw new OpenXML4JException("ZipOutputStream expected !");
+ throw new OpenXML4JException("ZipArchiveOutputStream expected !");
// Normally should happen only in development phase, so just throw
// exception
}