if (expectedList == null || expectedList.size() == 0) {
return Message.getSyntaxError(sqlCommand, parseIndex);
}
StatementBuilder buff = new StatementBuilder();
for (String e : expectedList) {
buff.appendExceptFirst(", ");
buff.append(e);
}
return Message.getSyntaxError(sqlCommand, parseIndex, buff.toString());
}