accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milleruntime <...@git.apache.org>
Subject [GitHub] accumulo pull request #210: ACCUMULO-4577: modified exception thrown by Tabl...
Date Thu, 02 Feb 2017 19:30:03 GMT
Github user milleruntime commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/210#discussion_r99198812
  
    --- Diff: server/base/src/main/java/org/apache/accumulo/server/conf/TableParentConfiguration.java
---
    @@ -35,6 +36,10 @@ public TableParentConfiguration(String tableId, Instance inst, AccumuloConfigura
     
       @Override
       protected String getNamespaceId() {
    -    return Tables.getNamespaceId(inst, tableId);
    +    try {
    +      return Tables.getNamespaceId(inst, tableId);
    +    } catch (TableNotFoundException e) {
    +      return null;
    --- End diff --
    
    Perhaps this would be better: 
    throw new RuntimeException(e);


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message