Package formflow.library
Class FormFlowErrorController
java.lang.Object
formflow.library.FormFlowErrorController
- All Implemented Interfaces:
org.springframework.boot.web.servlet.error.ErrorController
@Controller
public class FormFlowErrorController
extends Object
implements org.springframework.boot.web.servlet.error.ErrorController
-
Constructor Summary
ConstructorsConstructorDescriptionFormFlowErrorController(boolean showStackTrace, String errorPath, String prettyPrintPackages, org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewhandleError(org.springframework.web.context.request.WebRequest webRequest)
-
Constructor Details
-
FormFlowErrorController
public FormFlowErrorController(@Value("${form-flow.error.show-stack-trace:false}") boolean showStackTrace, @Value("${server.error.path:errors/genericError}") String errorPath, @Value("${form-flow.error.pretty-print-packages:formflow}") String prettyPrintPackages, org.springframework.boot.web.servlet.error.ErrorAttributes errorAttributes)
-
-
Method Details
-
handleError
@RequestMapping("/error") public org.springframework.web.servlet.ModelAndView handleError(org.springframework.web.context.request.WebRequest webRequest)
-