public String getMsg(String reason) {
    return mesg + " " + reason;
  }
For a given error message string, searches for a <code>ErrorMsg</code> enum
that appears to be a match. If a match is found, returns the
<code>SQLState</code> associated with the <code>ErrorMsg</code>. If a match
is not found or <code>ErrorMsg</code> has no <code>SQLState</code>, returns
the <code>SQLState</code> bound to the <code>GENERIC_ERROR</code>
<code>ErrorMsg</code>.

@param mesg
         An error message string
@return SQLState
common/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java