spring-framework / org.springframework.validation / BindException / <init>

<init>

BindException(bindingResult: BindingResult)

Create a new BindException instance for a BindingResult.

Parameters

bindingResult - the BindingResult instance to wrap

BindException(target: Any, objectName: String)

Create a new BindException instance for a target bean.

Parameters

target - target bean to bind onto

objectName - the name of the target object

See Also
BeanPropertyBindingResult