kevinrr888 commented on code in PR #5715: URL: https://github.com/apache/accumulo/pull/5715#discussion_r2190904306
########## core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java: ########## @@ -1123,7 +1123,7 @@ private Map<String,String> modifyPropertiesUnwrapped(String tableName, } catch (AccumuloException ae) { Throwable cause = ae.getCause(); if (cause instanceof TableNotFoundException) { - throw new TableNotFoundException(null, tableName, null, ae); + throw (TableNotFoundException) cause; } Review Comment: This was causing a weird issue that was hard to track down. Seems more correct to cast the original exception instead of creating a new one, and this fixed an issue I was seeing. -- 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 For queries about this service, please contact Infrastructure at: us...@infra.apache.org