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] [Commented] (ACCUMULO-1970) Namespaces need to create appropriate exceptions
Date Thu, 05 Dec 2013 21:16:36 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13840576#comment-13840576
] 

John Vines commented on ACCUMULO-1970:
--------------------------------------

agreed on deprecation cycles and such. That was a whim, but we can at least start with a good
base for namespaces since that's a fresh API.

My only real concern about extending them is I think IDEs will want to simplify the APIs to
throw AccumuloException when there are other Exceptions that extend it, but having that enumeration
is monumentally helpful to users.

> Namespaces need to create appropriate exceptions
> ------------------------------------------------
>
>                 Key: ACCUMULO-1970
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1970
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>            Reporter: John Vines
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> The ACCUMULO-820 patch left some very strange spaces in the client API around errors
regarding namespaces. Dominantly, they are exceptions masked as generic AccumuloExceptions
or NamespaceNotFoundExceptions wrapped in IllegalArgument and RuntimeExceptions. We need consistency
and accuracy for these prior to putting out an API for them.



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

Mime
View raw message