You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Thomas Koch (Created) (JIRA)" <ji...@apache.org> on 2011/10/17 13:08:10 UTC

[jira] [Created] (ZOOKEEPER-1233) throw RuntimeExceptions for Exceptions that "should never happen"

throw RuntimeExceptions for Exceptions that "should never happen"
-----------------------------------------------------------------

                 Key: ZOOKEEPER-1233
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1233
             Project: ZooKeeper
          Issue Type: Sub-task
            Reporter: Thomas Koch


see effective java Ed2. item 65 ("Don't ignore exceptions"). If you're really sure, that the exception will never appear, then you shouldn't fear to rethrow it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira