Class ConfigErrorHandlerImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.springframework.web.servlet.ModelAndView forwardToErrorPageAndRedirect​(org.springframework.ui.Model model, java.lang.String redirectUrl)  
      protected org.springframework.web.servlet.ModelAndView forwardToErrorPageAndRedirectToHomePage​(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request)  
      java.lang.String handleConfigurationAccessError()  
      java.lang.String handleError()  
      org.springframework.web.servlet.ModelAndView handleErrorForAjaxRequest​(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model model)
      Returns navigation end point for AJAX request in session failover case.
      java.lang.String handleErrorFromOrderHistory​(java.lang.String orderCode, int entryNumber, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)  
      java.lang.String handleErrorFromQuotes​(java.lang.String quotationId, int entryNumber, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)  
      java.lang.String handleErrorFromSavedCarts​(java.lang.String cartCode, int entryNumber, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigErrorHandlerImpl

        public ConfigErrorHandlerImpl()
    • Method Detail

      • handleErrorForAjaxRequest

        public org.springframework.web.servlet.ModelAndView handleErrorForAjaxRequest​(javax.servlet.http.HttpServletRequest request,
                                                                                      org.springframework.ui.Model model)
        Description copied from interface: ConfigErrorHandler
        Returns navigation end point for AJAX request in session failover case.
        Specified by:
        handleErrorForAjaxRequest in interface ConfigErrorHandler
        Returns:
        navigation end point for AJAX request in session failover case.
      • handleError

        public java.lang.String handleError()
        Specified by:
        handleError in interface ConfigErrorHandler
        Returns:
        Navigation end point for session failover case.
      • forwardToErrorPageAndRedirectToHomePage

        protected org.springframework.web.servlet.ModelAndView forwardToErrorPageAndRedirectToHomePage​(org.springframework.ui.Model model,
                                                                                                       javax.servlet.http.HttpServletRequest request)
      • forwardToErrorPageAndRedirect

        protected org.springframework.web.servlet.ModelAndView forwardToErrorPageAndRedirect​(org.springframework.ui.Model model,
                                                                                             java.lang.String redirectUrl)
      • handleErrorFromOrderHistory

        public java.lang.String handleErrorFromOrderHistory​(java.lang.String orderCode,
                                                            int entryNumber,
                                                            org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)
        Specified by:
        handleErrorFromOrderHistory in interface ConfigErrorHandler
        Returns:
        navigation end point for error during configuration from order history
      • handleErrorFromQuotes

        public java.lang.String handleErrorFromQuotes​(java.lang.String quotationId,
                                                      int entryNumber,
                                                      org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)
        Specified by:
        handleErrorFromQuotes in interface ConfigErrorHandler
        Returns:
        navigation end point for error during configuration from quotes
      • handleErrorFromSavedCarts

        public java.lang.String handleErrorFromSavedCarts​(java.lang.String cartCode,
                                                          int entryNumber,
                                                          org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel)
        Specified by:
        handleErrorFromSavedCarts in interface ConfigErrorHandler
        Returns:
        navigation end point for error during configuration from saved carts