snehashisp commented on code in PR #16984:
URL: https://github.com/apache/kafka/pull/16984#discussion_r1870719856


##########
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/VersionedPluginLoadingException.java:
##########
@@ -0,0 +1,32 @@
+package org.apache.kafka.connect.runtime.isolation;
+
+import org.apache.kafka.connect.errors.ConnectException;
+
+import java.util.List;
+
+public class VersionedPluginLoadingException extends ConnectException {

Review Comment:
   I'm okay with making it an extension of `ConfigException`. But let's keep it 
as a separate class type as it makes the errors more specific and helps in 
debugging. It also provides a set of available versions which is useful in 
other modules which capture this exception. 



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to