docs: public String getApplicationName() {
      String applicationName;
      if (containsKey(CONNECTION_APPLICATION_NAME_PROP)) {
        applicationName = getString(CONNECTION_APPLICATION_NAME_PROP);
      } else if (containsKey(CLIENT_APPLICATION_NAME_PROP)) {
        applicationName = getString(CLIENT_APPLICATION_NAME_PROP);
      } else {
        throw new NoSuchElementException(CONNECTION_APPLICATION_NAME_PROP + " was not set");
      }
      verifyApplicationName(applicationName);
      return applicationName;
    }