You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Corey Scott (JIRA)" <ji...@apache.org> on 2008/11/24 10:40:47 UTC
[jira] Updated: (EMAIL-78) Better error message in
MultiPartEmail.attach()
[ https://issues.apache.org/jira/browse/EMAIL-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corey Scott updated EMAIL-78:
-----------------------------
Attachment: EMAIL-78-patch.txt
Re-throws exceptions as appropriate
> Better error message in MultiPartEmail.attach()
> -----------------------------------------------
>
> Key: EMAIL-78
> URL: https://issues.apache.org/jira/browse/EMAIL-78
> Project: Commons Email
> Issue Type: Improvement
> Affects Versions: 1.1
> Reporter: Aaron Digulla
> Priority: Minor
> Attachments: EMAIL-78-patch.txt
>
>
> Please replace line 367 of org.apache.commons.mail.MultiPartEmail
> [code]
> throw new EmailException("Invalid URL set");
> [code]
> with
> [code]
> throw new EmailException("Invalid URL: "+url, e);
> [code]
> to generate a better error message when an IOException is thrown.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.