cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-756) Table.open should not propagate IOException
Date Wed, 03 Feb 2010 02:16:21 GMT
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
            Priority: Trivial


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.


Mime
View raw message