question: protected boolean [ ] canHandleNClasses ( AttrTypes attrTypes , int numClasses ) { print ( "more than two class problems" ) ; printAttributeSummary ( attrTypes , Attribute . NOMINAL ) ; print ( "..." ) ; ArrayList < String > accepts = new ArrayList < String > ( ) ; accepts . add ( "number" ) ; accepts . add ( "class" ) ; int numTrain = getNumInstances ( ) , numTest = getNumInstances ( ) , missingLevel = 0 ; boolean attributeMissing = false , classMissing = false ; int numAttr = 1 , attrIndex = 0 ; return runBasicTest ( attrTypes , numAttr , attrIndex , Attribute . NOMINAL , missingLevel , attributeMissing , classMissing , numTrain , numTest , numClasses , accepts ) ; }
target:  Checks whether nominal schemes can handle more than two classes. If a scheme is only designed for two-class problems it should throw an appropriate exception for multi-class problems.