docs: private IGatewayLink createGatewayLink(String gatewayId) throws StorageException {
          if (gatewayLinkCache.containsKey(gatewayId)) {
              return gatewayLinkCache.get(gatewayId);
          }
          try {
              GatewayBean gateway = storage.getGateway(gatewayId);
              if (gateway == null) {
                  throw new Exception("Gateway not found: " + gatewayId); //$NON-NLS-1$
              }
              IGatewayLink link = gatewayLinks.create(gateway);
              gatewayLinkCache.put(gatewayId, link);
              return link;
          } catch (Exception e) {
              throw new StorageException(e);
          }
      }