code: private void iaddWarning(String desc, String value, String loc) {
      if (!validate) return;
      ValidationEvent ve = new ValidationEvent(desc, value, loc);
      warnings.add(ve);
    }
docs: Adds a warning.
  
  @param desc warning description
  @param value the value that caused the warning
  @param loc the location