public long getErrorCode() {
    return this.errorCode;
  }
Returns true if field txn_type is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java