pl.allegro.tech.hermes.common.exception.RetransmissionException 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;
import pl.allegro.tech.hermes.api.ErrorCode;
public class RetransmissionException extends HermesException {
public RetransmissionException(String message) {
super(message);
}
public RetransmissionException(Throwable cause) {
super("Error during retransmitting messages.", cause);
}
@Override
public ErrorCode getCode() {
return ErrorCode.RETRANSMISSION_EXCEPTION;
}
}