more converters; since 3.0

This commit is contained in:
Keith Donald
2009-07-12 17:47:33 +00:00
parent 29139dfd1a
commit 1344a6d4d0
41 changed files with 256 additions and 228 deletions

View File

@@ -750,6 +750,7 @@ public class GenericBinder implements Binder {
if (cause instanceof SpelEvaluationException
&& ((SpelEvaluationException) cause).getMessageCode() == SpelMessage.TYPE_CONVERSION_ERROR) {
// TODO this could be a ConverterExecutorNotFoundException if no suitable converter was found
cause.getCause().printStackTrace();
ConversionFailedException failure = (ConversionFailedException) cause.getCause();
MessageBuilder builder = new MessageBuilder(messageSource);
builder.code("conversionFailed");