@Override
  public boolean equals(Object o) {
    if (!(o instanceof ErrorAndSolution)) {
      return false;
    }
    ErrorAndSolution e = (ErrorAndSolution)o;
    return Objects.equals(e.error, error) && Objects.equals(e.solution, solution);
  }
Immutable class for storing a possible error and a resolution suggestion.
ql/src/java/org/apache/hadoop/hive/ql/exec/errors/ErrorAndSolution.java