private void selectItem(@Nonnull JComboBox comboBox, @Nonnull TextMatcher matcher) {
int index = matchingItemIndex(comboBox, matcher, cellReader());
if (index < 0) {
String format = "Unable to find item matching %s among the JComboBox contents: ";
String msg = String.format(format, matcher.description(), format(contentsOf(comboBox)));
throw new LocationUnavailableException(msg);
}
selectItem(comboBox, index);
}