public void setNominalLabels(String labelList) throws Exception {
public void setNominalLabels(String labelList) {
  public void setNominalLabels(String labelList) throws Exception {    FastVector labels = new FastVector (10);    // Split the labelList up into the vector    int commaLoc;    while ((commaLoc = labelList.indexOf(',')) >= 0) {      String label = labelList.substring(0, commaLoc).trim();      if (!label.equals("")) {	labels.addElement(label);      } else {	throw new Exception("Invalid label list at "+			    labelList.substring(commaLoc));      }      labelList = labelList.substring(commaLoc + 1);    }    String label = labelList.trim();    if (!label.equals("")) {      labels.addElement(label);    }    // If everything is OK, make the type change    m_Labels = labels;    if (labels.size() == 0) {      m_AttributeType = Attribute.NUMERIC;    } else {      m_AttributeType = Attribute.NOMINAL;     }  }