Class RuleEngineExceptionTranslationHandler

java.lang.Object
de.hybris.platform.ruleenginebackoffice.handlers.RuleEngineExceptionTranslationHandler
All Implemented Interfaces:
com.hybris.cockpitng.service.ExceptionTranslationHandler, org.springframework.core.Ordered

public class RuleEngineExceptionTranslationHandler extends Object implements com.hybris.cockpitng.service.ExceptionTranslationHandler, org.springframework.core.Ordered
  • Constructor Details

    • RuleEngineExceptionTranslationHandler

      public RuleEngineExceptionTranslationHandler()
  • Method Details

    • canHandle

      public boolean canHandle(Throwable throwable)
      Specified by:
      canHandle in interface com.hybris.cockpitng.service.ExceptionTranslationHandler
    • toString

      public String toString(Throwable throwable)
      Specified by:
      toString in interface com.hybris.cockpitng.service.ExceptionTranslationHandler
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • isExceptionTypeSupported

      protected boolean isExceptionTypeSupported(Throwable throwable)
    • isModelRemoveException

      protected boolean isModelRemoveException(Throwable throwable)
    • isModelSaveException

      protected boolean isModelSaveException(Throwable throwable)
    • isModelExceptionTranslationSupported

      protected boolean isModelExceptionTranslationSupported(String exceptionMessage)
    • getSupportedInterceptors

      protected List<String> getSupportedInterceptors()
    • setSupportedInterceptors

      public void setSupportedInterceptors(List<String> supportedInterceptors)