io.tarantool.driver.exceptions.TarantoolAttemptsLimitException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cartridge-driver Show documentation
Show all versions of cartridge-driver Show documentation
Tarantool Cartridge driver for Tarantool versions 1.10+ based on Netty framework
package io.tarantool.driver.exceptions;
import io.tarantool.driver.api.retry.TarantoolRequestRetryPolicies;
/**
* The exception that was thrown from {@link TarantoolRequestRetryPolicies}
*
* @author Artyom Dubinin
*/
public class TarantoolAttemptsLimitException extends TarantoolException {
private static final String message = "Attempts limit reached: %s";
public TarantoolAttemptsLimitException(Throwable cause) {
super(cause);
}
public TarantoolAttemptsLimitException(Integer limit) {
super(String.format(message, limit));
}
public TarantoolAttemptsLimitException(Integer limit, Throwable cause) {
super(String.format(message, limit), cause);
}
public TarantoolAttemptsLimitException(String format, Object... args) {
super(String.format(format, args));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy