Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 53997 invoked from network); 17 Mar 2010 00:51:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Mar 2010 00:51:50 -0000 Received: (qmail 12259 invoked by uid 500); 17 Mar 2010 00:51:50 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 12211 invoked by uid 500); 17 Mar 2010 00:51:50 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 12203 invoked by uid 500); 17 Mar 2010 00:51:50 -0000 Delivered-To: apmail-incubator-cassandra-commits@incubator.apache.org Received: (qmail 12200 invoked by uid 99); 17 Mar 2010 00:51:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 00:51:50 +0000 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, 17 Mar 2010 00:51:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 39A93234C48D for ; Wed, 17 Mar 2010 00:51:27 +0000 (UTC) Message-ID: <262871374.305131268787087235.JavaMail.jira@brutus.apache.org> Date: Wed, 17 Mar 2010 00:51:27 +0000 (UTC) From: "Rodrigo Peinado (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-756) Table.open should not propagate IOException In-Reply-To: <1838378416.43741265163381794.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rodrigo Peinado updated CASSANDRA-756: -------------------------------------- Attachment: CASSANDRA-756-1.patch > Table.open should not propagate IOException > ------------------------------------------- > > Key: CASSANDRA-756 > URL: https://issues.apache.org/jira/browse/CASSANDRA-756 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Jonathan Ellis > Assignee: Rodrigo Peinado > Priority: Trivial > Fix For: 0.7 > > Attachments: CASSANDRA-756-1.patch, CASSANDRA-756.patch > > > Unrecoverable errors should not be checked exceptions; in the case of IOException, it has an analogue, IOError, specifically designed to be re-thrown for unrecoverable problems. Table.open falls into this category. > We should re-throw as IOError from Table.open and r/m the IOException propagation that affects a ton of code. > (This is not the only such place we need to change but it is probably the most prominent.) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.