This is an automated email from the ASF dual-hosted git repository. domgarguilo pushed a commit to branch 2.1 in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/2.1 by this push: new ff85666e6b Update Javadoc for wrapped TableNotFoundException in modifyProperties and removeConstraint (#5595) ff85666e6b is described below commit ff85666e6bca04e1c6ba801bcc79003ce466f832 Author: Dom G. <domgargu...@apache.org> AuthorDate: Fri May 30 14:19:56 2025 -0400 Update Javadoc for wrapped TableNotFoundException in modifyProperties and removeConstraint (#5595) Update the javadoc for some methods in TableOperations to add a note that TableNotFoundException is being wrapped in AccumuloException by the applicable methods. --- .../java/org/apache/accumulo/core/client/admin/TableOperations.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java b/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java index eabafaaa37..5fc7243a62 100644 --- a/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java +++ b/core/src/main/java/org/apache/accumulo/core/client/admin/TableOperations.java @@ -528,7 +528,8 @@ public interface TableOperations { * @return The map that became Accumulo's new properties for this table. This map is immutable and * contains the snapshot passed to mapMutator and the changes made by mapMutator. * - * @throws AccumuloException if a general error occurs + * @throws AccumuloException if a general error occurs. Wrapped TableNotFoundException if table + * does not exist. * @throws AccumuloSecurityException if the user does not have permission * @throws IllegalArgumentException if the Consumer alters the map by adding properties that * cannot be stored @@ -931,6 +932,8 @@ public interface TableOperations { * * @param tableName the name of the table * @param number the unique number assigned to the constraint + * @throws AccumuloException if a general error occurs. Wrapped TableNotFoundException if table + * does not exist. * @throws AccumuloSecurityException thrown if the user doesn't have permission to remove the * constraint * @since 1.5.0