if (estimatorName.length() == 0) { throw new Exception("A estimatorName must be specified with" + " the -E option."); }
if (estimatorName.length() != 0) {
    public void setOptions(String[] options) throws Exception {        m_bUseADTree = !(Utils.getFlag('D', options));        String sAlpha = Utils.getOption('A', options);        String sBIFFile = Utils.getOption('B', options);        if (sBIFFile != null && !sBIFFile.equals("")) {            setBIFFile(sBIFFile);        }        String searchAlgorithmName = Utils.getOption('Q', options);        if (searchAlgorithmName.length() == 0) {            throw new Exception("A searchAlgorithmName must be specified with" + " the -Q option.");        }        setSearchAlgorithm(            (SearchAlgorithm) Utils.forName(                SearchAlgorithm.class,                searchAlgorithmName,                partitionOptions(options)));        String estimatorName = Utils.getOption('E', options);        if (estimatorName.length() == 0) {            throw new Exception("A estimatorName must be specified with" + " the -E option.");        }        setEstimator(            (BayesNetEstimator) Utils.forName(                BayesNetEstimator.class,                estimatorName,                Utils.partitionOptions(options)));        Utils.checkForRemainingOptions(options);    } // setOptions