Github user joshelser commented on the issue:

    https://github.com/apache/accumulo/pull/243
  
    > Do you think I should check the type and rethrow an Error?
    
    The more I think about it, I still think there should be:
    
    ```java
    if (excep instanceof Error) {
      throw (Error) excep;
    }
    throw new RuntimeException(excep);
    ```
    
    But, I haven't found "official" guidance in the case of Futures/Executors.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to