class ShardNameHelper {

    public String getShardNameByShardId(Long shardId, UUID chainId) {
        if (shardId == null || shardId < 0) {
            throw new IllegalArgumentException("'shardId' should have positive value, but " + shardId + " was supplied");
        }
        Objects.requireNonNull(chainId, "chainID must be set");
        String result = String.format(SHARD_NAME_PATTERN, shardId, chainId.toString());
        log.debug(result);
        return result;
    }

    public  ShardNameHelper();

}