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

io.tarantool.driver.exceptions.TarantoolDecoderException 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.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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy