23846 introduced a new MethodArgumentNotValidException(Executable, BindingResult)
constructor that can be advantageously replaced by using MethodArgumentNotValidException(MethodParameter, BindingResult)
in ModelAttributeMethodProcessor
.
This change updates ModelAttributeMethodProcessor
accordingly, and deprecates MethodArgumentNotValidException(Executable, BindingResult)
in favor of MethodArgumentNotValidException(MethodParameter, BindingResult)
.