Class Throwables
- java.lang.Object
-
- org.hibernate.search.util.common.impl.Throwables
-
public final class Throwables extends Object
Throwable-related utils.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Throwable>
Tcombine(T throwable, T otherThrowable)static ExceptionexpectException(Throwable throwable)static StringgetFirstNonNullMessage(Throwable t)static StringsafeToString(Throwable throwableBeingHandled, Object object)static RuntimeExceptiontoRuntimeException(Throwable throwable)
-
-
-
Method Detail
-
toRuntimeException
public static RuntimeException toRuntimeException(Throwable throwable)
-
combine
public static <T extends Throwable> T combine(T throwable, T otherThrowable)
-
-