correctly handle ParseException from Formatter for String->String case (SPR-8944)

This commit is contained in:
Juergen Hoeller
2011-12-22 14:57:23 +01:00
committed by Chris Beams
parent 0053319c62
commit 86bef9030f
2 changed files with 27 additions and 1 deletions

View File

@@ -244,6 +244,9 @@ class TypeConverterDelegate {
}
if (firstAttemptEx != null) {
if (editor == null) {
throw firstAttemptEx;
}
logger.debug("Original ConversionService attempt failed - ignored since " +
"PropertyEditor based conversion eventually succeeded", firstAttemptEx);
}