]> source.dussan.org Git - poi.git/commitdiff
update exception message
authorPJ Fanning <fanningpj@apache.org>
Wed, 10 Jul 2024 11:39:27 +0000 (11:39 +0000)
committerPJ Fanning <fanningpj@apache.org>
Wed, 10 Jul 2024 11:39:27 +0000 (11:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919091 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPartMarshaller.java

index acfe0ff2f8f168394621c69c80d284d237b1c0c9..d4d363c1f396181a84086d46fdeb41c91bb34a5b 100644 (file)
@@ -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
         }