The Spring Framework

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

Packages that use BindException
org.springframework.validation: Provides data binding and validation functionality, for usage in business and/or UI layers.
org.springframework.web.bind.support: Support classes for web data binding.
org.springframework.web.portlet.mvc: Standard controller implementations for the portlet MVC framework that comes with Spring.
org.springframework.web.servlet.mvc: Standard controller implementations for the servlet MVC framework that comes with Spring.

Uses of BindException in org.springframework.validation

Methods in org.springframework.validation that return BindException
`BindException` `DataBinder.getErrors()` Deprecated. in favor of `DataBinder.getBindingResult()`. Use the `BindException(BindingResult)` constructor to create a BindException instance if still needed.

Methods in org.springframework.validation that throw BindException
`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.support

Methods in org.springframework.web.bind.support that throw BindException
`void` `WebRequestDataBinder.closeNoCatch()` Treats errors as fatal.

Uses of BindException in org.springframework.web.portlet.mvc

Methods in org.springframework.web.portlet.mvc that return BindException
`protected BindException` `AbstractFormController.getErrorsForNewForm(javax.portlet.RenderRequest request)` Create a BindException instance for a new form.
`protected BindException` `BaseCommandController.getRenderErrors(javax.portlet.RenderRequest request)` Get the bind and validation errors cached for the render phase.

Methods in org.springframework.web.portlet.mvc with parameters of type BindException
`protected abstract void` `AbstractCommandController.handleAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, Object command, BindException errors)` Template method for request handling, providing a populated and validated instance of the command class, and an Errors object containing binding and validation errors.
`protected abstract ModelAndView` `AbstractCommandController.handleRender(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, Object command, BindException errors)` Template method for render request handling, providing a populated and validated instance of the command class, and an Errors object containing binding and validation errors.
`protected void` `BaseCommandController.onBind(javax.portlet.PortletRequest request, Object command, BindException errors)` Callback for custom post-processing in terms of binding.
`protected void` `BaseCommandController.onBindAndValidate(javax.portlet.PortletRequest request, Object command, BindException errors)` Callback for custom post-processing in terms of binding and validation.
`protected void` `AbstractWizardFormController.onBindAndValidate(javax.portlet.PortletRequest request, Object command, BindException errors)` Calls page-specific onBindAndValidate method.
`protected void` `AbstractWizardFormController.onBindAndValidate(javax.portlet.PortletRequest request, Object command, BindException errors, int page)` Callback for custom post-processing in terms of binding and validation.
`protected void` `AbstractFormController.onBindOnNewForm(javax.portlet.RenderRequest request, Object command, BindException errors)` Callback for custom post-processing in terms of binding for a new form.
`protected void` `SimpleFormController.onFormChange(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, Object command, BindException errors)` Called during form submission if `SimpleFormController.isFormChangeRequest(PortletRequest)` returns `true`.
`protected void` `SimpleFormController.onSubmitAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, Object command, BindException errors)` Submit action phase callback with all parameters.
`protected void` `SimpleFormController.onSubmitAction(Object command, BindException errors)` Simpler `onSubmitAction` version.
`protected ModelAndView` `SimpleFormController.onSubmitRender(Object command, BindException errors)` Simpler `onSubmitRender` version.
`protected ModelAndView` `SimpleFormController.onSubmitRender(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, Object command, BindException errors)` Submit render phase callback with all parameters.
`protected void` `AbstractWizardFormController.processCancel(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, Object command, BindException errors)` Template method for the action phase of the cancel action of this wizard.
`protected void` `AbstractWizardFormController.processFinish(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, Object command, BindException errors)` Template method for the action phase of the finish action of this wizard.
`protected abstract void` `AbstractFormController.processFormSubmission(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, Object command, BindException errors)` Process action phase of form submission request.
`protected void` `SimpleFormController.processFormSubmission(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, Object command, BindException errors)` This implementation does nothing in case of errors, and delegates to `onSubmitAction`'s full version else.
`protected void` `AbstractWizardFormController.processFormSubmission(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, Object command, BindException errors)` Apply wizard workflow: finish, cancel, page change.
`protected ModelAndView` `AbstractWizardFormController.renderCancel(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, Object command, BindException errors)` Template method for the render phase of the cancel action of this wizard.
`protected ModelAndView` `AbstractWizardFormController.renderFinish(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, Object command, BindException errors)` Template method for the render phase of the finish action of this wizard.
`protected abstract ModelAndView` `AbstractFormController.renderFormSubmission(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, Object command, BindException errors)` Process render phase of form submission request.
`protected ModelAndView` `SimpleFormController.renderFormSubmission(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, Object command, BindException errors)` This implementation calls `showForm` in case of errors, and delegates to `onSubmitRender`'s full version else.``
`protected ModelAndView` `AbstractWizardFormController.renderFormSubmission(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, Object command, BindException errors)` Apply wizard workflow: finish, cancel, page change.
`protected void` `BaseCommandController.setRenderCommandAndErrors(javax.portlet.ActionRequest request, Object command, BindException errors)` Set the command object and errors object for the render phase.
`protected ModelAndView` `AbstractFormController.showForm(javax.portlet.RenderRequest request, BindException errors, String viewName)` Prepare model and view for the given form, including reference and errors.
`protected ModelAndView` `AbstractFormController.showForm(javax.portlet.RenderRequest request, BindException errors, String viewName, Map controlModel)` Prepare model and view for the given form, including reference and errors, adding a controller-specific control model.
`protected abstract ModelAndView` `AbstractFormController.showForm(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, BindException errors)` Prepare the form model and view, including reference and error data.
`protected ModelAndView` `SimpleFormController.showForm(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, BindException errors)` This implementation shows the configured form view, delegating to the analogous showForm version with a controlModel argument.
`protected ModelAndView` `AbstractWizardFormController.showForm(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, BindException errors)` Show the first page as form view.
`protected ModelAndView` `SimpleFormController.showForm(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, BindException errors, Map controlModel)` This implementation shows the configured form view.
`protected ModelAndView` `AbstractWizardFormController.showPage(javax.portlet.RenderRequest request, BindException errors, int page)` Prepare the form model and view, including reference and error data, for the given page.

Uses of BindException in org.springframework.web.servlet.mvc

Methods in org.springframework.web.servlet.mvc that return BindException
`protected BindException` `AbstractFormController.getErrorsForNewForm(HttpServletRequest request)` Create a BindException instance for a new form.

Methods in org.springframework.web.servlet.mvc with parameters of type BindException
`protected abstract ModelAndView` `AbstractCommandController.handle(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)` Template method for request handling, providing a populated and validated instance of the command class, and an Errors object containing binding and validation errors.
`protected void` `BaseCommandController.onBind(HttpServletRequest request, Object command, BindException errors)` Callback for custom post-processing in terms of binding.
`protected void` `BaseCommandController.onBindAndValidate(HttpServletRequest request, Object command, BindException errors)` Callback for custom post-processing in terms of binding and validation.
`protected void` `AbstractWizardFormController.onBindAndValidate(HttpServletRequest request, Object command, BindException errors)` Calls page-specific onBindAndValidate method.
`protected void` `AbstractWizardFormController.onBindAndValidate(HttpServletRequest request, Object command, BindException errors, int page)` Callback for custom post-processing in terms of binding and validation.
`protected void` `AbstractFormController.onBindOnNewForm(HttpServletRequest request, Object command, BindException errors)` Callback for custom post-processing in terms of binding for a new form.
`protected void` `SimpleFormController.onFormChange(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)` Called during form submission if `SimpleFormController.isFormChangeRequest(javax.servlet.http.HttpServletRequest)` returns `true`.
`protected ModelAndView` `SimpleFormController.onSubmit(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)` Submit callback with all parameters.
`protected ModelAndView` `SimpleFormController.onSubmit(Object command, BindException errors)` Simpler `onSubmit` variant.
`protected ModelAndView` `AbstractWizardFormController.processCancel(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)` Template method for processing the cancel action of this wizard.
`protected abstract ModelAndView` `AbstractWizardFormController.processFinish(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)` Template method for processing the final action of this wizard.
`protected abstract ModelAndView` `AbstractFormController.processFormSubmission(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)` Process form submission request.

`protected ModelAndView`

`SimpleFormController.processFormSubmission(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)`
This implementation calls `SimpleFormController.showForm(HttpServletRequest, HttpServletResponse, BindException)` in case of errors, and delegates to the full `SimpleFormController.onSubmit(HttpServletRequest, HttpServletResponse, Object, BindException)`'s variant else.

`protected ModelAndView` `CancellableFormController.processFormSubmission(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)` This implementation first checks to see if the incoming is a cancel request, through a call to `CancellableFormController.isCancelRequest(javax.servlet.http.HttpServletRequest)`.
`protected ModelAndView` `AbstractWizardFormController.processFormSubmission(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors)` Apply wizard workflow: finish, cancel, page change.
`protected ModelAndView` `AbstractFormController.showForm(HttpServletRequest request, BindException errors, String viewName)` Prepare model and view for the given form, including reference and errors.
`protected ModelAndView` `AbstractFormController.showForm(HttpServletRequest request, BindException errors, String viewName, Map controlModel)` Prepare model and view for the given form, including reference and errors, adding a controller-specific control model.
`protected abstract ModelAndView` `AbstractFormController.showForm(HttpServletRequest request, HttpServletResponse response, BindException errors)` Prepare the form model and view, including reference and error data.
`protected ModelAndView` `SimpleFormController.showForm(HttpServletRequest request, HttpServletResponse response, BindException errors)` This implementation shows the configured form view, delegating to the analogous `SimpleFormController.showForm(HttpServletRequest, HttpServletResponse, BindException, Map)` variant with a "controlModel" argument.
`protected ModelAndView` `AbstractWizardFormController.showForm(HttpServletRequest request, HttpServletResponse response, BindException errors)` Show the first page as form view.
`protected ModelAndView` `SimpleFormController.showForm(HttpServletRequest request, HttpServletResponse response, BindException errors, Map controlModel)` This implementation shows the configured form view.
`protected ModelAndView` `AbstractWizardFormController.showPage(HttpServletRequest request, BindException errors, int page)` Prepare the form model and view, including reference and error data, for the given page.
`protected boolean` `BaseCommandController.suppressValidation(HttpServletRequest request, Object command, BindException errors)` Return whether to suppress validation for the given request.

The Spring Framework

Copyright © 2002-2008 The Spring Framework.