code: public static void checkProjectName(String name) {
  
          if (CmsStringUtil.isEmptyOrWhitespaceOnly(name)) {
              throw new CmsIllegalArgumentException(Messages.get().container(Messages.ERR_PROJECTNAME_VALIDATION_0));
          }
      }
docs: Throws a runtime exception if name is empty.<p>
  
  @param name the project name to check