for (ConstraintViolation<Object> v : violations) {
BeanValidatorContext ctx = new BeanValidatorContext(v);
String msg = interpolator.interpolate(v.getMessageTemplate(), ctx, locale);
String category = extractCategory(params, v);
validator.add(new SimpleMessage(category, msg));
logger.debug("added message {}={} for contraint violation", category, msg);
}
stack.next(method, controllerInstance);