Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 19525 invoked from network); 14 Apr 2003 16:28:36 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 14 Apr 2003 16:28:36 -0000 Received: (qmail 11696 invoked by uid 97); 14 Apr 2003 16:30:32 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 11688 invoked from network); 14 Apr 2003 16:30:31 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 14 Apr 2003 16:30:31 -0000 Received: (qmail 19041 invoked by uid 500); 14 Apr 2003 16:28:29 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 19006 invoked from network); 14 Apr 2003 16:28:29 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 14 Apr 2003 16:28:29 -0000 Received: (qmail 11684 invoked by uid 50); 14 Apr 2003 16:30:25 -0000 Date: 14 Apr 2003 16:30:25 -0000 Message-ID: <20030414163025.11683.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 18265] - DefaultFileItem should not catch Exception X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18265 DefaultFileItem should not catch Exception ------- Additional Comments From dgraham@apache.org 2003-04-14 16:30 ------- There should be no "catch Exception" blocks. Just let any IOException propagate out of the method. An exception thrown during close() will not hide any other exception because they would have been thrown first anyways. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org