spring-framework / org.springframework.web.servlet / ModelAndViewDefiningException / <init>

<init>

ModelAndViewDefiningException(modelAndView: ModelAndView)

Create new ModelAndViewDefiningException with the given ModelAndView, typically representing a specific error page.

Parameters

modelAndView - ModelAndView with view to forward to and model to expose