}
private Component getComponent(ComponentMatcher[] matchers, String type, String name, Class[] swingClasses) throws ItemNotFoundException, ComponentAmbiguityException {
Component foundComponent = findComponent(matchers, type, name, swingClasses);
if (foundComponent == null) {
throw new ItemNotFoundException(Messages.computeNotFoundMessage(type, name, null));
}
return foundComponent;
}