DomGarguilo opened a new issue, #5602:
URL: https://github.com/apache/accumulo/issues/5602

   **Is your feature request related to a problem? Please describe.**
   Many `TableOperations` methods wrap `TableNotFoundException` in 
`AccumuloException`. It seems less confusing and safer to throw 
`TableNotFoundException` directly. This would force the calling code to 
properly handle the case where a table does not exist. Right now, its very easy 
to not know that this wrapping is happening and not properly account for it. 
Right now, there is a note in the javadoc for each method that wraps 
`TableNotFoundException` but, doing this is a lot less evident than throwing 
the exception directly (and also leads to problems updating and maintaining 
that note in the javadoc e.g., #5595)


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@accumulo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to