@Override
  public String getMessage() {
    // TODO: deserialization above depends on this. That is bad, but also means this
    // should be modified carefully.
    return "Region moved to: " + HOST_FIELD + hostname + " " + PORT_FIELD + port + " "
      + STARTCODE_FIELD + startCode + ". As of " + LOCATIONSEQNUM_FIELD + locationSeqNum + ".";
  }
For hadoop.ipc internal call. Do NOT use. We have to parse the hostname to recreate the
exception. The input is the one generated by {@link #getMessage()}
hbase-client/src/main/java/org/apache/hadoop/hbase/exceptions/RegionMovedException.java