Class Throwables

java.lang.Object
org.hibernate.search.util.common.impl.Throwables

public final class Throwables extends Object
Throwable-related utils.
  • Method Details

    • toRuntimeException

      public static RuntimeException toRuntimeException(Throwable throwable)
    • expectException

      public static Exception expectException(Throwable throwable)
    • combine

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

      public static String getFirstNonNullMessage(Throwable t)
    • safeToString

      public static String safeToString(Throwable throwableBeingHandled, Object object)