spring-framework / org.springframework.messaging.handler.annotation.support / MethodArgumentNotValidException / <init>

<init>

MethodArgumentNotValidException(message: Message<*>, parameter: MethodParameter)

Create a new instance with the invalid MethodParameter.

MethodArgumentNotValidException(message: Message<*>, parameter: MethodParameter, bindingResult: BindingResult)

Create a new instance with the invalid MethodParameter and a org.springframework.validation.BindingResult.