From a0008d6764e351557bc62eba9b1509c0f2ff9a68 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Wed, 10 Jul 2024 11:39:27 +0000 Subject: [PATCH] update exception message git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919091 13f79535-47bb-0310-9956-ffa450edef68 --- .../openxml4j/opc/internal/marshallers/ZipPartMarshaller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }