spring-framework / org.springframework.web.bind.support / WebRequestDataBinder / closeNoCatch

closeNoCatch

open fun closeNoCatch(): Unit

Treats errors as fatal.

Use this method only if it's an error if the input isn't valid. This might be appropriate if all input is from dropdowns, for example.

Exceptions

BindException - if binding errors have been encountered