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

io.tarantool.driver.exceptions.TarantoolTimeoutException 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 TarantoolTimeoutException extends TarantoolException {
    private static final String message = "Operation timeout value exceeded after %s ms";

    public TarantoolTimeoutException(Throwable cause) {
        super(cause);
    }

    public TarantoolTimeoutException(Long time) {
        super(String.format(message, time));
    }

    public TarantoolTimeoutException(Long time, Throwable cause) {
        super(String.format(message, time), cause);
    }

    public TarantoolTimeoutException(String format, Object... args) {
        super(String.format(format, args));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy