public static void printUsageAndExit(OptionParser parser, String message) {
        CommandLineUtils.printUsageAndExit(parser, message);
        throw new AssertionError("printUsageAndExit should not return, but it did.");
    }
This is a simple wrapper around `CommandLineUtils.printUsageAndExit`.
It is needed for tools migration (KAFKA-14525), as there is no Java equivalent for return type `Nothing`.
Can be removed once [[kafka.tools.ConsoleConsumer]]
and [[kafka.tools.ConsoleProducer]] are migrated.

@param parser Command line options parser.
@param message Error message.
tools/src/main/java/org/apache/kafka/tools/ToolsUtils.java