Example usage for org.apache.solr.common.cloud ZooKeeperException ZooKeeperException

List of usage examples for org.apache.solr.common.cloud ZooKeeperException ZooKeeperException

Introduction

In this page you can find the example usage for org.apache.solr.common.cloud ZooKeeperException ZooKeeperException.

Prototype

public ZooKeeperException(ErrorCode code, String msg) 

Source Link

Usage

From source file:com.ngdata.hbaseindexer.util.solr.SolrConfigLoader.java

License:Apache License

@Override
public String getConfigDir() {
    throw new ZooKeeperException(ErrorCode.SERVER_ERROR,
            "ZkSolrResourceLoader does not support getConfigDir() - likely, what you are trying to do is not supported in ZooKeeper mode");
}