NntpCommand parsedCommand = findCommand(command);
if (parsedCommand != null) {
Processor processor = ProcessorResolver.processor(parsedCommand);
if (processor == null) {
logger.l4("Can't find processor for command '" + command + "'.");
throw new ProcessorNotFoundException();
}
return processor.process(parsedCommand.getParams(), selectedGroupId, selectedArticleId, auth);
}
throw new UnknownCommandException();