This commit is contained in:
Keith Donald
2009-07-09 05:51:49 +00:00
parent 80760ed7a4
commit 2db239031f
2 changed files with 59 additions and 3 deletions

View File

@@ -756,7 +756,6 @@ 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");