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

io.tarantool.driver.exceptions.TarantoolFieldNotFoundException 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.metadata.TarantoolSpaceMetadata;

/**
 * Represents error when a field is not found in space format metadata
 *
 * @author Alexey Kuzin
 */
public class TarantoolFieldNotFoundException extends TarantoolClientException {

    public TarantoolFieldNotFoundException(int position, TarantoolSpaceMetadata spaceMetadata) {
        super("Field with id %d not found in space %s", position, spaceMetadata.getSpaceName());
    }

    public TarantoolFieldNotFoundException(String name, TarantoolSpaceMetadata spaceMetadata) {
        super("Field '%s' not found in space %s", name, spaceMetadata.getSpaceName());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy