@Override
    public String toString() {
        try {
            return toString("").trim();
        }
        catch (UnsupportedEncodingException e) {
            return e.toString();
        }
    }
Returns a string representation of this node state.

@param prefix The prefix to use for this string.
@return A string representation of this.
@throws UnsupportedEncodingException Thrown if the host system does not support UTF-8 encoding.
documentapi/src/main/java/com/yahoo/documentapi/messagebus/systemstate/rule/NodeState.java