How about this?
```java
        final String prefix;
        if (blobNamePrefix != null) {
            prefix = buildKey(blobNamePrefix);
        } else {
            prefix = keyPath;
        }
        try {
            return blobStore.client().listBlobsByPrefix(blobStore.container(), prefix);
        } catch (URISyntaxException e) {
            logger.warn("can not access [{}] in container {{}}: {}", blobNamePrefix, blobStore.container(), e.getMessage());
            throw new IOException(e);
        } catch (StorageException e) {
            logger.warn("can not access [{}] in container {{}}: {}", blobNamePrefix, blobStore.container(), e.getMessage());
            throw new IOException(e);
        } catch (ServiceException e) {
            logger.warn("can not access [{}] in container {{}}: {}", blobNamePrefix, blobStore.container(), e.getMessage());
            throw new IOException(e);
        }
```