pl.allegro.tech.hermes.common.exception.BrokerNotFoundForPartitionException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-common Show documentation
Show all versions of hermes-common Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.common.exception;
@SuppressWarnings("serial")
public class BrokerNotFoundForPartitionException extends InternalProcessingException {
public BrokerNotFoundForPartitionException(String topic, int partition, Throwable cause) {
super(String.format("Broker not found for topic %s and partition %d", topic, partition), cause);
}
}