code: public Try<Void> openUrl(final String url) {
          return Try.run(() -> hostServices.showDocument(url))
                    .onFailure(cause -> onException(cause, url));
      }
docs: Opens a given URL or a pop-up with the error if it could not do so.
  
  @param url The URL as a String. Does not have to conform to {@link URL#URL(String)}.
  
  @return a {@link Try} that can be either {@link Try.Success} (and empty) or {@link Try.Failure} and contain an
  exception.
  
  @see Try#onFailure(Consumer)