public void setError(String error, ASTNode errorSrcNode) {
    if (LOG.isDebugEnabled()) {
      // Logger the callstack from which the error has been set.
      LOG.debug("Setting error: [" + error + "] from "
          + ((errorSrcNode == null) ? "null" : errorSrcNode.toStringTree())/*, new Exception()*/);
    }
    this.error = error;
    this.errorSrcNode = errorSrcNode;
  }
@param error
         the error to set
ql/src/java/org/apache/hadoop/hive/ql/parse/type/TypeCheckCtx.java