private static void tryClose(@Nullable AutoCloseable closeable) {
    if (closeable != null) {
      try {
        closeable.close();
      } catch (Exception ignored) {
      }
    }
  }
Creates a new ClassLoader and a new {@link Exception} class inside that ClassLoader. This is
useful when unit testing the class loading behavior of code, and needing a class that is
outside the system class path.

<p>NOTE: Even though this method may throw IOExceptions, we do not declare those and rather
wrap them in Runtime Exceptions. While this is generally discouraged, we do this here because
it is merely a test utility and not production code, and it makes it easier to use this method
during the initialization of variables and especially static variables.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/test/java/org/apache/amoro/flink/util/ClassLoaderUtils.java