@Override
    public boolean equals(@Nullable Object o) {
        if (this == o) {
            return true;
        }

        if (!(o instanceof ThriftReply)) {
            return false;
        }

        final ThriftReply that = (ThriftReply) o;
        return super.equals(that) &&
               Objects.equals(result, that.result) &&
               Objects.equals(exception, that.exception);
    }
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