public ModelAndView translateModelAndView(Throwable exception) {
        // Parameter exception
        if (exception instanceof RedirectBusinessException) {
            RedirectBusinessException e = (RedirectBusinessException)exception;
            return dealResponseModelAndView(null, e.getMessage(), e.getRedirect(), null, null);
        }
        // Jump to homepage by default
        return new ModelAndView("redirect:/");
    }
Business abnormality

@param request   request
@param exception exception
@return return
chat2db-server/chat2db-server-start/src/main/java/ai/chat2db/server/start/exception/EasyControllerExceptionHandler.java