class ErrorControllerAdvice {

    protected ModelAndView createErrorModelAndViewWithTitleAndMessage(Exception e, HttpServletRequest req, List<Object> arguments, HttpStatus status, String titleKey, String messageKey) {
        return createModelAndView(e, req, arguments, status, false, titleKey, messageKey, "title-and-message-error");
    }

    public  ErrorControllerAdvice();
    public  ErrorControllerAdvice(Environment env, MessageSource messageSource);

}