@Override public Item getItemByPattern(String name) throws ItemNotFoundException, ItemNotUniqueException { org.eclipse.smarthome.core.items.Item eshItem; try { eshItem = itemUIRegistry.getItemByPattern(name); } catch (org.eclipse.smarthome.core.items.ItemNotFoundException e) { throw new ItemNotFoundException(name); } catch (org.eclipse.smarthome.core.items.ItemNotUniqueException e) { throw new ItemNotUniqueException(name, null); } return ItemMapper.mapToOpenHABItem(eshItem); }