io.tarantool.driver.exceptions.TarantoolFieldNotFoundException Maven / Gradle / Ivy
package io.tarantool.driver.exceptions;
import io.tarantool.driver.api.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 - 2025 Weber Informatics LLC | Privacy Policy