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

io.tarantool.driver.exceptions.TarantoolAttemptsLimitException Maven / Gradle / Ivy

Go to download

Tarantool Cartridge driver for Tarantool versions 1.10+ based on Netty framework

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