@Override public void appendBodyToString(StringBuilder buffer) { buffer.append("(messageId ["); buffer.append(StringUtil.toStringWithNullAsEmpty(this.messageId)); buffer.append("] finalDate ["); buffer.append(StringUtil.toStringWithNullAsEmpty(this.finalDate)); buffer.append("] messageState [0x"); buffer.append(HexUtil.toHexString(this.messageState)); buffer.append("] errorCode [0x"); buffer.append(HexUtil.toHexString(this.errorCode)); buffer.append("])"); }