Interface PCIRequestErrorHandler

All Known Implementing Classes:
PCIRequestErrorHandlerImpl

public interface PCIRequestErrorHandler
Exception Handler for PCI.
  • Method Details

    • processCreateAnalyticsDocumentHttpError

      AnalyticsDocument processCreateAnalyticsDocumentHttpError(com.hybris.charon.exp.HttpException ex, AnalyticsDocument analyticsDocumentInput)
      Handles any Sever-Side HTTP-Exception when creating an anlytics document.
      Parameters:
      ex - HttpException
      analyticsDocumentInput -
      Returns:
      analytics document
    • processCreateAnalyticsDocumentRuntimeException

      AnalyticsDocument processCreateAnalyticsDocumentRuntimeException(RuntimeException ex, AnalyticsDocument analyticsDocumentInput)
      Processes runtime exceptions like timeout or non-existing server. Default behavior: Timeout exceptions are handled gracefully (just logged) while other runtime exceptions are re-thrown.
      Parameters:
      ex - Runtime exception that wraps the actual cause
      analyticsDocumentInput -
      Returns:
      analytics