code: private void printErrorMessage(String key, Object... substitutions) {
          Tr.error(tc, key, substitutions);
          errorMsgIssued = true;
      }
docs: Prints the specified error message.
  
  @param key The resource bundle key for the message.
  @param substitutions The values to be substituted for the tokens in the
  message skeleton.