Class Exceptions

java.lang.Object
org.apache.iceberg.util.Exceptions

public class Exceptions extends Object
  • Method Details

    • close

      public static void close(Closeable closeable, boolean suppressExceptions)
    • suppressExceptions

      public static <E extends Exception> E suppressExceptions(E alreadyThrown, Runnable run)
    • suppressAndThrow

      public static <E extends Exception> void suppressAndThrow(E alreadyThrown, Runnable run) throws E
      Throws:
      E