Class ExceptionHelper

java.lang.Object
org.hibernate.internal.util.ExceptionHelper

public final class ExceptionHelper extends Object
  • Method Details

    • doThrow

      public static void doThrow(Throwable e)
      Throws the given throwable even if it is a checked exception.
      Parameters:
      e - The throwable to throw.
    • getRootCause

      public static Throwable getRootCause(Throwable error)
    • combine

      public static <T extends Throwable> T combine(T throwable, T otherThrowable)