code: public static <T, E extends RuntimeException> ExceptionSupplier<T, E> throwA(
              @SuppressWarnings("UnusedParameters") Class<T> type, E exception) {
          return new ExceptionSupplier<>(exception);
      }
docs: Factory method for usage inside a method call
  
  @param type      class type used only for type inference
  @param exception exception to throw
  @param <T>       Supplied object type
  @param <E>       RuntimeException subtype
  @return the exception supplier
  @throws E the provided exception