protected void checkCommand(String command) {
        if (command == null)
            throw new IllegalArgumentException("ERR00403012b");

        if (!drinkPattern.matcher(command).matches()) {
            Out.infoLn("Processing command: '%1$s' ...", command);
            Processing.process("Sending mail", 1000);
            Out.infoLn("Command seems to be invalid, asking the knowledge base for further instruction...");
            Processing.process("Sending mail", 2000);
            Out.infoLn("No alternative found");

            throw new IllegalArgumentException("ERR000156987a");
        }
    }