private static boolean isApplicableAttributeEvaluator(String method, Instances instances){
try{
ASEvaluation eval = ASEvaluation.forName(method, new String[0]);
eval.getCapabilities().testWithFail(instances);
} catch(weka.core.UnsupportedAttributeTypeException e) {
<BUG>System.out.println(method + " failed with message: " + e.getMessage());
return false;
}catch(Exception e){
e.printStackTrace();
System.out.println("'" + method + "' not supported");</BUG>
return false;

private static boolean isApplicableAttributeEvaluator(String method, Instances instances){
try{
ASEvaluation eval = ASEvaluation.forName(method, new String[0]);
eval.getCapabilities().testWithFail(instances);
} catch(weka.core.UnsupportedAttributeTypeException e) {
log.warn("{} failed: {}", method, e.getMessage(), e);
return false;
}catch(Exception e){
log.warn("{} not supported: {}", method, e.getMessage(), e);
return false;
