private static TFieldIdEnum[] getArgFields(ProcessFunction<?, ?, ?> func) {
        return getArgFields0(Type.SYNC, func.getClass(), func.getMethodName());
    }
Sets the exception field of the specified {@code result} to the specified {@code cause}.
thrift/thrift0.21/src/main/java/com/linecorp/armeria/internal/common/thrift/ThriftFunction.java