public void setExitVal(int exitVal, Throwable taskError) {
    setExitVal(exitVal);
    setTaskError(taskError);
  }
TaskResult implementation.
Note that different threads may be reading/writing this object
ql/src/java/org/apache/hadoop/hive/ql/exec/TaskResult.java