code: public static <T, E extends Throwable> @NonNull T getOrRethrow(final @NonNull ThrowingSupplier<T, E> supplier) {
      return supplier.get(); // get() rethrows for us
    }
docs: Gets the result of {@code supplier}, or re-throws an exception, sneakily.
  
  @param supplier the supplier
  @param <T> the result type
  @param <E> the exception type
  @return the result