Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 44316 invoked from network); 30 Apr 2008 14:31:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2008 14:31:45 -0000 Received: (qmail 78753 invoked by uid 500); 30 Apr 2008 14:31:45 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 78685 invoked by uid 500); 30 Apr 2008 14:31:45 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 78674 invoked by uid 99); 30 Apr 2008 14:31:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 07:31:45 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 14:31:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 99C58234C10B for ; Wed, 30 Apr 2008 07:27:58 -0700 (PDT) Message-ID: <258860295.1209565678628.JavaMail.jira@brutus> Date: Wed, 30 Apr 2008 07:27:58 -0700 (PDT) From: "Aaron Digulla (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (EMAIL-78) Better error message in MultiPartEmail.attach() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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.