code: @SuppressWarnings("PMD.AvoidCatchingThrowable")
      public static <T> Consumer<T> swallowExceptions(ThrowingConsumer<T> in)
      {
          return (item) -> {
              try {
                  in.accept(item);
              }
docs: Transform a Consumer to log and then swallow any thrown exceptions. However, {@link Error}s are still re-thrown.
  @param in a consumer that may throw exceptions
  @return a consumer that swallows exceptions