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

io.zulia.server.exceptions.ShardDoesNotExistException Maven / Gradle / Ivy

There is a newer version: 1.6.4
Show newest version
package io.zulia.server.exceptions;

import java.io.IOException;

public class ShardDoesNotExistException extends IOException {

	private static final long serialVersionUID = 1L;
	private String indexName;
	private int shardNumber;

	public ShardDoesNotExistException(String indexName, int shardNumber) {
		super("Shard does not exist for index <" + indexName + "> with shard <" + shardNumber + ">");
		this.indexName = indexName;
		this.shardNumber = shardNumber;
	}

	public String getIndexName() {
		return indexName;
	}

	public int getShardNumber() {
		return shardNumber;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy