else
{
//some of the locales couldn't be resolved so show errors expressing which locales couldn't be resolved.
for(String locale : unresolvedLocales)
{
ResourceBundleNotFoundForLocaleProblem problem = (location != null) ?
new ResourceBundleNotFoundForLocaleProblem(location, bundleName, locale) :
new ResourceBundleNotFoundForLocaleProblem(bundleName, locale);
errors.add(problem);
}
}
}