1 package de.juplo.kafka.chat.backend.domain.exceptions;
6 public class ShardNotOwnedException extends IllegalStateException
9 private final String instanceId;
11 private final int shard;
14 public ShardNotOwnedException(String instanceId, int shard)
16 super("Instance " + instanceId + " does not own the shard " + shard);
17 this.instanceId = instanceId;