public String getErrorCodedMsg() {
    return "[Error " + errorCode + "]: " + mesg;
  }
If the message is parametrized, this will fill the parameters with supplied
{@code reasons}, otherwise {@code reasons} are appended at the end of the
message.
common/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java