} else {
throw SupportMessages.MESSAGES.invalidParamsForCellProcessor(name, params);
}
} else if (name.equalsIgnoreCase("ParseBigDecimal")) {
if (params.length == 0) {
current = previous == null ? new ParseBigDecimal() : new ParseBigDecimal(previous);
} else if (params.length == 1) { //locale for getting DecimalFormatSymbols
current = previous == null ? new ParseBigDecimal(new DecimalFormatSymbols(new Locale(params[0]))) :
new ParseBigDecimal(new DecimalFormatSymbols(new Locale(params[0])), previous);
} else {
throw SupportMessages.MESSAGES.invalidParamsForCellProcessor(name, params);
}
} else if (name.equalsIgnoreCase("Truncate")) {
if (params.length == 1) { //max length