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 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)