You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/06/10 13:34:02 UTC

[commons-fileupload] branch master updated: MalformedStreamException now extends FileUploadException

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git


The following commit(s) were added to refs/heads/master by this push:
     new d5216ed  MalformedStreamException now extends FileUploadException
d5216ed is described below

commit d5216edd6d2b05960afa4a043333c72105c38077
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jun 10 09:33:58 2023 -0400

    MalformedStreamException now extends FileUploadException
---
 .../src/main/java/org/apache/commons/fileupload2/MultipartStream.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/MultipartStream.java b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/MultipartStream.java
index 445e97b..cd2257a 100644
--- a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/MultipartStream.java
+++ b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/MultipartStream.java
@@ -417,7 +417,7 @@ public final class MultipartStream {
     /**
      * Signals that the input stream fails to follow the required syntax.
      */
-    public static class MalformedStreamException extends IOException {
+    public static class MalformedStreamException extends FileUploadException {
 
         /**
          * The UID to use when serializing this instance.