io.tarantool.driver.exceptions.TarantoolSpaceNotFoundException 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;
/**
* Represents space not found error
*
* @author Alexey Kuzin
*/
public class TarantoolSpaceNotFoundException extends TarantoolException {
public TarantoolSpaceNotFoundException(int spaceId) {
super(String.format("Space with id %d not found", spaceId));
}
public TarantoolSpaceNotFoundException(String spaceName) {
super(String.format("Space with name '%s' not found", spaceName));
}
}