nizhikov commented on code in PR #13278: URL: https://github.com/apache/kafka/pull/13278#discussion_r1266973638
########## server-common/src/main/java/org/apache/kafka/server/common/AdminCommandFailedException.java: ########## @@ -15,9 +15,18 @@ * limitations under the License. */ -package kafka.admin +package org.apache.kafka.server.common; -class AdminOperationException(val error: String, cause: Throwable) extends RuntimeException(error, cause) { - def this(error: Throwable) = this(error.getMessage, error) - def this(msg: String) = this(msg, null) -} \ No newline at end of file +public class AdminCommandFailedException extends RuntimeException { + public AdminCommandFailedException(String message) { + super(message); + } + + public AdminCommandFailedException(String message, Throwable cause) { + super(message, cause); + } + + public AdminCommandFailedException() { Review Comment: No, removed. -- 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