code: private void iaddError(String desc, String value, String loc) {
      if (!validate) return;
      ValidationEvent ve = new ValidationEvent(desc, value, loc);
      errors.add(ve);
      correct = false;
    }
docs: Adds an error.
  
  @param desc error description
  @param value the value that caused the error
  @param loc the error location