@ -121,7 +121,13 @@ public class MappingJackson2MessageConverter extends AbstractMessageConverter {
@@ -121,7 +121,13 @@ public class MappingJackson2MessageConverter extends AbstractMessageConverter {
}
Throwablecause=causeRef.get();
if(cause!=null){
logger.warn("Failed to evaluate deserialization for type: "+javaType);
Stringmsg="Failed to evaluate deserialization for type "+javaType;
if(logger.isDebugEnabled()){
logger.warn(msg,cause);
}
else{
logger.warn(msg+": "+cause);
}
}
returnfalse;
}
@ -137,7 +143,13 @@ public class MappingJackson2MessageConverter extends AbstractMessageConverter {
@@ -137,7 +143,13 @@ public class MappingJackson2MessageConverter extends AbstractMessageConverter {
}
Throwablecause=causeRef.get();
if(cause!=null){
logger.warn("Failed to evaluate serialization for type: "+payload.getClass());
Stringmsg="Failed to evaluate serialization for type ["+payload.getClass()+"]";
@ -165,7 +165,13 @@ public class MappingJackson2HttpMessageConverter extends AbstractHttpMessageConv
@@ -165,7 +165,13 @@ public class MappingJackson2HttpMessageConverter extends AbstractHttpMessageConv
}
Throwablecause=causeRef.get();
if(cause!=null){
logger.warn("Failed to evaluate deserialization for type: "+javaType);
Stringmsg="Failed to evaluate deserialization for type "+javaType;
if(logger.isDebugEnabled()){
logger.warn(msg,cause);
}
else{
logger.warn(msg+": "+cause);
}
}
returnfalse;
}
@ -181,7 +187,13 @@ public class MappingJackson2HttpMessageConverter extends AbstractHttpMessageConv
@@ -181,7 +187,13 @@ public class MappingJackson2HttpMessageConverter extends AbstractHttpMessageConv
}
Throwablecause=causeRef.get();
if(cause!=null){
logger.warn("Failed to evaluate serialization for type: "+clazz);
Stringmsg="Failed to evaluate serialization for type ["+clazz+"]";