Class ConfigErrorHandlerImpl

java.lang.Object
de.hybris.platform.sap.productconfig.frontend.util.impl.ConfigErrorHandlerImpl
All Implemented Interfaces:
ConfigErrorHandler

public class ConfigErrorHandlerImpl extends Object implements ConfigErrorHandler
Default implementation of the ConfigErrorHandler
  • Constructor Details

    • ConfigErrorHandlerImpl

      public ConfigErrorHandlerImpl()
  • Method Details

    • 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 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, String redirectUrl)
    • handleErrorFromOrderHistory

      public String handleErrorFromOrderHistory(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 String handleErrorFromQuotes(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 String handleErrorFromSavedCarts(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
    • handleConfigurationAccessError

      public String handleConfigurationAccessError()
      Specified by:
      handleConfigurationAccessError in interface ConfigErrorHandler
      Returns:
      Navigation end point for configuration access error case.