You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/03/12 18:02:16 UTC

[GitHub] [accumulo] ctubbsii commented on a change in pull request #1018: Fix #976 - Expand overly broad Exceptions in Accumulo-core

ctubbsii commented on a change in pull request #1018: Fix #976 - Expand overly broad Exceptions in Accumulo-core
URL: https://github.com/apache/accumulo/pull/1018#discussion_r264812852
 
 

 ##########
 File path: core/src/main/java/org/apache/accumulo/core/client/rfile/RFileScanner.java
 ##########
 @@ -406,8 +406,8 @@ public void close() {
       if (this.blockCacheManager != null) {
         this.blockCacheManager.stop();
       }
-    } catch (RuntimeException e1) {
-      throw new RuntimeException(e1);
+    } catch (UnsupportedOperationException e1) {
+      throw new UnsupportedOperationException(e1);
 
 Review comment:
   I'm confused by this. Why not just let e1 get thrown all the way through?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services