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 }