use of com.hortonworks.streamline.common.exception.ConfigException in project streamline by hortonworks.
the class TopologyLogSearchContainer method initTopologyLogSearch.
private TopologyLogSearch initTopologyLogSearch(Map<String, Object> conf, String className) {
try {
TopologyLogSearch topologyLogSearch = instantiate(className);
topologyLogSearch.init(conf);
return topologyLogSearch;
} catch (IllegalAccessException | InstantiationException | ClassNotFoundException | ConfigException e) {
throw new RuntimeException("Can't initialize Topology log search instance - Class Name: " + className, e);
}
}
Aggregations