You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by et...@apache.org on 2024/01/18 14:49:02 UTC

(iceberg) branch nsve-cleanable-failure created (now 1859e5cf45)

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

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


      at 1859e5cf45 Core: Mark NoSuchViewException as CleanableFailure

This branch includes the following new commits:

     new 1859e5cf45 Core: Mark NoSuchViewException as CleanableFailure

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(iceberg) 01/01: Core: Mark NoSuchViewException as CleanableFailure

Posted by et...@apache.org.
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 <et...@gmail.com>
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));