io.tarantool.driver.exceptions.TarantoolDecoderException 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.protocol.TarantoolHeader;
import io.tarantool.driver.protocol.TarantoolProtocolException;
/**
* Used in cases when a request or a response body cannot be transformed from/into MessagePack
*
* @author Alexey Kuzin
*/
public class TarantoolDecoderException extends TarantoolProtocolException {
private final TarantoolHeader header;
public TarantoolDecoderException(TarantoolHeader header, Exception e) {
super(e);
this.header = header;
}
public TarantoolHeader getHeader() {
return header;
}
}