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

        

Reply via email to