public final class ExceptionTools
extends Object
- Author:
- Lukas Eder
-
Method Summary
Find a root cause of a given type, or null
if no root cause
of that type was found.
static void
Sneaky throw any type of Throwable.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getCause
Find a root cause of a given type, or null
if no root cause
of that type was found.
-
sneakyThrow
public static void sneakyThrow(Throwable throwable)
Sneaky throw any type of Throwable.