commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corey Scott (JIRA)" <j...@apache.org>
Subject [jira] Commented: (EMAIL-78) Better error message in MultiPartEmail.attach()
Date Tue, 10 Feb 2009 01:56:59 GMT

    [ https://issues.apache.org/jira/browse/EMAIL-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672114#action_12672114
] 

Corey Scott commented on EMAIL-78:
----------------------------------

Nope, I cant think of a reason why I didnt pass it.  Thanks for catching and fixing this.

> 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
>            Assignee: Siegfried Goeschl
>            Priority: Minor
>             Fix For: 1.2
>
>         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.


Mime
View raw message