private void handleException(ServiceRequestContext ctx, CompletableFuture<HttpResponse> res,
                                 SerializationFormat serializationFormat, int seqId,
                                 ThriftFunction func, Throwable cause) {
        final RpcResponse response = handleException(ctx, Exceptions.peel(cause));
        response.handle((result, convertedCause) -> {
            if (convertedCause != null) {
                handleException(ctx, response, res, serializationFormat, seqId, func, convertedCause);
            } else {
                handleSuccess(ctx, response, res, serializationFormat, seqId, func, result);
            }
            return null;
        });
    }
Returns the default {@link SerializationFormat} of this service.
thrift/thrift0.13/src/main/java/com/linecorp/armeria/server/thrift/THttpService.java