Class WebhookExceptionTranslationHandler
- java.lang.Object
-
- de.hybris.platform.webhookbackoffice.handlers.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.OrderedHandler that translates exceptions so they appear in the Backoffice
-
-
Constructor Summary
Constructors Constructor Description WebhookExceptionTranslationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(java.lang.Throwable throwable)protected java.lang.StringgetConfigParameter()intgetOrder()java.lang.StringtoString(java.lang.Throwable throwable)
-
-
-
Method Detail
-
canHandle
public boolean canHandle(java.lang.Throwable throwable)
- Specified by:
canHandlein interfacecom.hybris.cockpitng.service.ExceptionTranslationHandler
-
toString
public java.lang.String toString(java.lang.Throwable throwable)
- Specified by:
toStringin interfacecom.hybris.cockpitng.service.ExceptionTranslationHandler
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
getConfigParameter
protected java.lang.String getConfigParameter()
-
-