Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1006

Add test for VisibilityParseException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.4.2, 1.5.0
    • None
    • tserver
    • None

    Description

      I'm not sure this exception can ever actually happen. I think ColumnVisibility throws BadArgumentException in all the cases where the VisibilityParseException would have been thrown. It's somewhat unfortunate that the BadArgumentException is the RuntimeException, and the checked exception can never happen.

      We need a test to see if we can make VisibilityParseException happen when BadArgumentException doesn't, and possibly do something about BadArgumentException, by either wrapping it with a checked exception, or something else to reflect the fact that it's more likely to happen than VisibilityParseException.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ctubbsii Christopher Tubbs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: