io.tarantool.driver.exceptions.TarantoolTimeoutException 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 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