public static CantRunException noModuleConfigured(@Nullable String moduleName) {
    return StringUtil.isEmptyOrSpaces(moduleName)
           ? new CantRunException(ExecutionBundle.message("no.module.defined.error.message"))
           : new CantRunException(ExecutionBundle.message("module.does.not.exist.error.message", moduleName));
  }
public static CantRunException noModuleConfigured(@Nullable String moduleName)