code: public static NoSuchElementException newNoSuchElementException(Throwable cause, String message, Object... args) {
      return (NoSuchElementException) new NoSuchElementException(format(message, args)).initCause(cause);
    }
docs: Constructs and initializes a new {@link NoSuchElementException} with the given {@link Throwable cause}
  and {@link String message} formatted with the given {@link Object[] arguments}.
  
  @param cause {@link Throwable} identified as the reason this {@link NoSuchElementException} was thrown.
  @param message {@link String} describing the {@link NoSuchElementException exception}.
  @param args {@link Object[] arguments} used to replace format placeholders in the {@link String message}.
  @return a new {@link NoSuchElementException} with the given {@link Throwable cause} and {@link String message}.
  @see java.util.NoSuchElementException