mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-21 21:39:05 +00:00
polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1498 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user