mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 09:33:39 +02:00
Changed multipart exception
This commit is contained in:
@@ -2332,7 +2332,7 @@ public class MessageHelper {
|
||||
}
|
||||
}
|
||||
} else
|
||||
throw new IllegalArgumentException("Multipart=" + (content == null ? null : content.getClass().getName()));
|
||||
throw new MessagingException("Multipart=" + (content == null ? null : content.getClass().getName()));
|
||||
}
|
||||
|
||||
if (part.isMimeType("multipart/signed")) {
|
||||
@@ -2448,7 +2448,7 @@ public class MessageHelper {
|
||||
if (content instanceof Multipart)
|
||||
multipart = (Multipart) part.getContent();
|
||||
else
|
||||
throw new IllegalArgumentException("Multipart=" + (content == null ? null : content.getClass().getName()));
|
||||
throw new MessagingException("Multipart=" + (content == null ? null : content.getClass().getName()));
|
||||
|
||||
boolean other = false;
|
||||
List<Part> plain = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user