code: private String partialUploadErrorMessage(String pid, int count, int total,
              String vitalPid) {
          String message = "Error submitting payload '" + pid + "' to VITAL. ";
          message += count + " of " + total + " payloads where successfully";
          message += " sent to VITAL before this error occurred.";
          message += " The VITAL PID is '" + vitalPid + "'.";
          return message;
      }
docs: Build an error message detailing an interrupted upload. Some (or none) of
  the intended list of payloads did not transfer to VITAL correctly.
  
  @param pid The PID in our system for which the failure occurred.
  @param count The number of successful PIDs sent before the failure.
  @param total The total number of PIDs that were intended to be sent.
  @param vitalPid The PID for the entire object in VITAL.