## Uses of Class
org.springframework.validation.BindException

- Packages that use BindException
  Package | Description
  --- | ---
  org.springframework.validation | Provides data binding and validation functionality, for usage in business and/or UI layers.
  org.springframework.web.bind | Provides web-specific data binding functionality.
  org.springframework.web.bind.support | Support classes for web data binding.
  org.springframework.web.servlet.mvc.method.annotation | MVC infrastructure for annotation-based handler method processing, building on the `org.springframework.web.method.annotation` package.
  org.springframework.web.servlet.mvc.support | Support package for MVC controllers.

- - ### Uses of BindException in org.springframework.validation

    Methods in org.springframework.validation that throw BindException
    Modifier and Type | Method and Description
    --- | ---
    `Map<?,?>` | DataBinder.`close()` Close this DataBinder, which may result in throwing a BindException if it encountered any errors.

  - ### Uses of BindException in org.springframework.web.bind

    Subclasses of BindException in org.springframework.web.bind
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MethodArgumentNotValidException` Exception to be thrown when validation on an argument annotated with `@Valid` fails.

  - ### Uses of BindException in org.springframework.web.bind.support

    Methods in org.springframework.web.bind.support that throw BindException
    Modifier and Type | Method and Description
    --- | ---
    `void` | WebRequestDataBinder.`closeNoCatch()` Treats errors as fatal.

  - ### Uses of BindException in org.springframework.web.servlet.mvc.method.annotation

    Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type BindException
    Modifier and Type | Method and Description
    --- | ---
    `protected ResponseEntity<Object>` | ResponseEntityExceptionHandler.`handleBindException(BindException ex, HttpHeaders headers, HttpStatus status, WebRequest request)` Customize the response for BindException.

  - ### Uses of BindException in org.springframework.web.servlet.mvc.support

    Methods in org.springframework.web.servlet.mvc.support with parameters of type BindException
    Modifier and Type | Method and Description
    --- | ---
    `protected ModelAndView` | DefaultHandlerExceptionResolver.`handleBindException(BindException ex, HttpServletRequest request, HttpServletResponse response, Object handler)` Handle the case where an @ModelAttribute method argument has binding or validation errors and is not followed by another method argument of type `BindingResult`.