Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1198 Refactorings and Cleanups
  3. ZOOKEEPER-1233

throw RuntimeExceptions for Exceptions that "should never happen"

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thkoch Thomas Koch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: