public final class Throwables
extends Object
Utilities for handling exceptions and other throwables.
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
-
propagate
@NotNull
public static <T extends Exception> T propagate(@NotNull
@NotNull Throwable e,
@NotNull
@NotNull Class<T> allowed)