accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-1006) Add test for VisibilityParseException
Date Thu, 31 Oct 2013 21:33:17 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Vines updated ACCUMULO-1006:
---------------------------------

    Fix Version/s:     (was: 1.5.1)
                       (was: 1.6.0)
                   1.7.0

> Add test for VisibilityParseException
> -------------------------------------
>
>                 Key: ACCUMULO-1006
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1006
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: tserver
>    Affects Versions: 1.4.2, 1.5.0
>            Reporter: Christopher Tubbs
>             Fix For: 1.7.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message