This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new bfd37f583c [api] update 404 exception comment for snapshot api (#5633)
bfd37f583c is described below

commit bfd37f583c9dda636a5a5d79a1a8f336f91be88f
Author: jerry <[email protected]>
AuthorDate: Tue May 20 15:49:37 2025 +0800

    [api] update 404 exception comment for snapshot api (#5633)
---
 paimon-api/src/main/java/org/apache/paimon/rest/RESTApi.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/paimon-api/src/main/java/org/apache/paimon/rest/RESTApi.java 
b/paimon-api/src/main/java/org/apache/paimon/rest/RESTApi.java
index 23b41b0207..ed6a90113f 100644
--- a/paimon-api/src/main/java/org/apache/paimon/rest/RESTApi.java
+++ b/paimon-api/src/main/java/org/apache/paimon/rest/RESTApi.java
@@ -462,7 +462,8 @@ public class RESTApi {
      *
      * @param identifier database name and table name.
      * @return {@link TableSnapshot} Optional snapshot.
-     * @throws NoSuchResourceException Exception thrown on HTTP 404 means the 
table not exists
+     * @throws NoSuchResourceException Exception thrown on HTTP 404 means the 
table or the latest
+     *     snapshot not exists
      * @throws ForbiddenException Exception thrown on HTTP 403 means don't 
have the permission for
      *     this table
      */
@@ -505,7 +506,8 @@ public class RESTApi {
      *
      * @param identifier database name and table name.
      * @param instant instant to rollback
-     * @throws NoSuchResourceException Exception thrown on HTTP 404 means the 
table not exists
+     * @throws NoSuchResourceException Exception thrown on HTTP 404 means the 
table or the snapshot
+     *     or the tag not exists
      * @throws ForbiddenException Exception thrown on HTTP 403 means don't 
have the permission for
      *     this table
      */

Reply via email to