io.tarantool.driver.exceptions.TarantoolTupleConversionException 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 org.msgpack.value.Value;
/**
* Represents errors occurring when MessagePack mapper tries to parse the incoming data into a tuple object
*
* @author Alexey Kuzin
*/
public class TarantoolTupleConversionException extends TarantoolClientException {
public TarantoolTupleConversionException(Value messagePackValue, Throwable cause) {
super(String.format("Failed to convert MessagePack value of type %s to tuple",
messagePackValue.getValueType()), cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy