- java.lang.Object
-
- org.jooq.exception.ExceptionTools
-
public final class ExceptionTools extends Object
- Author:
- Lukas Eder
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Throwable>
TgetCause(Throwable t, Class<? extends T> type)
Find a root cause of a given type, ornull
if no root cause of that type was found.static void
sneakyThrow(Throwable throwable)
Sneaky throw any type of Throwable.
-