aweisberg commented on code in PR #4447:
URL: https://github.com/apache/cassandra/pull/4447#discussion_r2683903688


##########
src/java/org/apache/cassandra/exceptions/FunctionExecutionException.java:
##########
@@ -50,4 +55,64 @@ public FunctionExecutionException(FunctionName functionName, 
List<String> argTyp
         this.argTypes = argTypes;
         this.detail = msg;
     }
+
+    @Override
+    protected void serializeSpecificFields(DataOutputPlus out, int version) 
throws IOException
+    {
+        // Serialize FunctionName
+        out.writeBoolean(functionName.keyspace != null);
+        if (functionName.keyspace != null)
+            out.writeUTF(functionName.keyspace);
+        out.writeUTF(functionName.name);
+
+        // Serialize argTypes list
+        out.writeInt(argTypes.size());

Review Comment:
   Use collection serializer



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to