logger.warning("Incorrect syntax. Valid syntax is '<ModuleType>:<ModuleName>'.");
logger.warning("For example, 'module info source:file' to get 'file' <source> module info.");
throw new ShellException();
}
RESTModuleType moduleType = validateAndReturnModuleType(value.substring(0, colonIndex));
return new QualifiedModuleName(value.substring(colonIndex + 1), moduleType);
}