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

etudenhoefner pushed a commit to branch nsve-cleanable-failure
in repository https://gitbox.apache.org/repos/asf/iceberg.git

commit 1859e5cf45793c4ba9ba8a837dd56592466b775b
Author: Eduard Tudenhoefner <[email protected]>
AuthorDate: Thu Jan 18 15:48:57 2024 +0100

    Core: Mark NoSuchViewException as CleanableFailure
    
    Similar to `NoSuchTableException`, this exception should also be marked as 
`CleanableFailure`
---
 .../main/java/org/apache/iceberg/exceptions/NoSuchViewException.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/api/src/main/java/org/apache/iceberg/exceptions/NoSuchViewException.java 
b/api/src/main/java/org/apache/iceberg/exceptions/NoSuchViewException.java
index cf2b20a609..1079e1187f 100644
--- a/api/src/main/java/org/apache/iceberg/exceptions/NoSuchViewException.java
+++ b/api/src/main/java/org/apache/iceberg/exceptions/NoSuchViewException.java
@@ -21,7 +21,7 @@ package org.apache.iceberg.exceptions;
 import com.google.errorprone.annotations.FormatMethod;
 
 /** Exception raised when attempting to load a view that does not exist. */
-public class NoSuchViewException extends RuntimeException {
+public class NoSuchViewException extends RuntimeException implements 
CleanableFailure {
   @FormatMethod
   public NoSuchViewException(String message, Object... args) {
     super(String.format(message, args));

Reply via email to