code: private synchronized String getJobNotAdmittedReason(JobInProgress job,
        JobAdmissionWaitInfo waitInfo) {
      JobInfo jobInfo = infos.get(job);
      if (jobInfo == null) {
        return "Unknown, can't find job";
      }
      AdmissionControlData admissionControlData =
          jobInitializer.getAdmissionControlData();
      return NotAdmittedJobInfo.getReasoning(
          adjustClusterwideReason(
              admissionControlData, jobInfo.reason, poolMgr.getPoolName(job)),
              jobInfo.reasonLimit, jobInfo.actualValue,
              jobInfo.hardAdmissionPosition, waitInfo);
    }
docs: Get a stringified reason for not admitting a job.
  
  @param job Job not admitted
  @param waitInfo Details about job that is not admitted
  @return Reason why not admitted as a string