if ((CF < 0) || (CF > 1)) { throw new Exception("CF has to be between zero and one!");
if ((CF <= 0) || (CF >= 1)) { throw new Exception("CF has to be greater than zero and smaller than one!");
  public void setOptions(String[] options) throws Exception{        String confidenceString = Utils.getOption('C', options);    String minNumString = Utils.getOption('M', options);    String numFoldsString = Utils.getOption('N', options);    reducedErrorPruning = Utils.getFlag('R', options);    binarySplits = Utils.getFlag('B', options);    if (confidenceString.length() != 0)      if (reducedErrorPruning)	throw new Exception("Setting CF doesn't make sense" +			    " for reduced error pruning.");      else {	CF = (new Float(confidenceString)).floatValue();	if ((CF < 0) || (CF > 1)) {	  throw new Exception("CF has to be between zero and one!");	}      }    if (numFoldsString.length() != 0)      if (!reducedErrorPruning)	throw new Exception("Setting the number of folds" +			    " doesn't make sense for" +			    " pessimistic pruning.");      else	numFolds = Integer.parseInt(numFoldsString);    if (minNumString.length() != 0)      minNumObj = Integer.parseInt(minNumString);  }