public boolean appendCauseMessage() {
    return appendCauseMessage;
  }
Whether the cause of the exception should be added to the error message.
@return true, if the cause should be added to the message, false otherwise
hcatalog/core/src/main/java/org/apache/hive/hcatalog/common/ErrorType.java