Class WebhookExceptionTranslationHandler

  • All Implemented Interfaces:
    com.hybris.cockpitng.service.ExceptionTranslationHandler, org.springframework.core.Ordered

    public class WebhookExceptionTranslationHandler
    extends java.lang.Object
    implements com.hybris.cockpitng.service.ExceptionTranslationHandler, org.springframework.core.Ordered
    Handler that translates exceptions so they appear in the Backoffice
    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canHandle​(java.lang.Throwable throwable)  
      protected java.lang.String getConfigParameter()  
      int getOrder()  
      java.lang.String toString​(java.lang.Throwable throwable)  
      • Methods inherited from class java.lang.Object

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

      • WebhookExceptionTranslationHandler

        public WebhookExceptionTranslationHandler()
    • Method Detail

      • canHandle

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

        public java.lang.String toString​(java.lang.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
      • getConfigParameter

        protected java.lang.String getConfigParameter()