Class ErrorRaisingController


  • @Controller
    public class ErrorRaisingController
    extends Object
    MVC controller for responding to errors by dispatching them to the MVC error handling umbrella.
    • Field Detail

      • log

        @Nonnull
        private final org.slf4j.Logger log
        Class logger.
    • Constructor Detail

      • ErrorRaisingController

        public ErrorRaisingController()
    • Method Detail

      • raiseError

        @RequestMapping("/RaiseError")
        public void raiseError​(@Nonnull
                               javax.servlet.http.HttpServletRequest httpRequest)
                        throws Throwable
        Handle an error dispatched by the container by re-raising it.
        Parameters:
        httpRequest - the HTTP request
        Throws:
        Throwable - if something goes wrong