@Override
    public String toString() {
        final ToStringHelper helper = MoreObjects.toStringHelper(this)
                                                 .add("seqId", header().seqid)
                                                 .add("type", typeStr())
                                                 .add("name", header().name);
        if (result != null) {
            helper.add("result", result);
        } else {
            helper.add("exception", exception);
        }

        return helper.toString();
    }
Returns the exception of this reply.

@throws IllegalStateException if the type of this reply is not {@link TMessageType#EXCEPTION}
thrift/thrift0.13/src/main/java/com/linecorp/armeria/common/thrift/ThriftReply.java