Class ExceptionHelper

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

public final class ExceptionHelper extends Object
  • Method Details

    • rethrow

      public static void rethrow(Throwable throwable)
      Throws the given Throwable, even if it's a checked exception.
      Parameters:
      throwable - The Throwable to throw.
    • getRootCause

      public static Throwable getRootCause(Throwable error)