All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.allegro.tech.hermes.common.exception.RetransmissionException Maven / Gradle / Ivy

There is a newer version: 2.6.21
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy