Class Throwables

java.lang.Object
org.dalesbred.internal.utils.Throwables

public final class Throwables extends Object
Utilities for handling exceptions and other throwables.
  • Method Details

    • propagate

      @NotNull public static @NotNull RuntimeException propagate(@NotNull @NotNull Throwable e)
    • propagate

      @NotNull public static <T extends Exception> T propagate(@NotNull @NotNull Throwable e, @NotNull @NotNull Class<T> allowed)