io.tarantool.driver.protocol.TarantoolProtocolException 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.protocol;
/**
* Represents errors that occur while decoding Tarantool packets
*
* @author Alexey Kuzin
*/
public class TarantoolProtocolException extends Exception {
public TarantoolProtocolException(String s) {
super("Invalid Tarantool packet: " + s);
}
public TarantoolProtocolException(Exception e) {
super("Invalid Tarantool packet", e);
}
public TarantoolProtocolException(String s, Object... values) {
super("Invalid Tarantool packet: " + String.format(s, values));
}
}