public Object parseObject(String source) throws ParseException {
source = CharSequences.trimWhitespaces(source);
try {
return valueOf(source);
} catch (NumberFormatException cause) {
<BUG>ParseException e = new LocalizedParseException(null, type, source, null);

e.initCause(cause);
throw e;</BUG>
}

public Object parseObject(String source) throws ParseException {
source = CharSequences.trimWhitespaces(source);
try {
return valueOf(source);
} catch (NumberFormatException cause) {
throw new LocalizedParseException(null, type, source, null).initCause(cause);
