public String toSqlString() {
      return "'" + this.toString() + "'";
    }
The following class represents all the error messages that are handled for aborts.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnErrorMsg.java