io.tarantool.driver.InvalidVersionException 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;
/**
* Occurs when the version received from Tarantool server is invalid or unsupported
*/
public class InvalidVersionException extends Exception {
public InvalidVersionException() {
super("Invalid or unsupported Tarantool version");
}
public InvalidVersionException(String version) {
super("Invalid or unsupported Tarantool version: " + (version == null ? "null" : version));
}
public InvalidVersionException(Exception e) {
super("Failed to determine Tarantool version", e);
}
}