Class OutboundSyncBackofficeExceptionTranslationHandler
java.lang.Object
de.hybris.platform.integrationbackoffice.exceptionhandlers.IntegrationApiExceptionTranslationHandler
de.hybris.platform.outboundsyncbackoffice.extensionhandlers.OutboundSyncBackofficeExceptionTranslationHandler
- All Implemented Interfaces:
com.hybris.cockpitng.service.ExceptionTranslationHandler,org.springframework.core.Ordered
public class OutboundSyncBackofficeExceptionTranslationHandler
extends IntegrationApiExceptionTranslationHandler
A service for translating exceptions into localized messages used by the backoffice.
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringRetrieves prefix of all property keys in the resource bundle used by this extension/handler.protected Collection<Class<? extends Throwable>>Methods inherited from class de.hybris.platform.integrationbackoffice.exceptionhandlers.IntegrationApiExceptionTranslationHandler
canHandle, convertExceptionToResourceMsg, extractParameters, getOrder, setLocalizationService, toString
-
Constructor Details
-
OutboundSyncBackofficeExceptionTranslationHandler
public OutboundSyncBackofficeExceptionTranslationHandler()
-
-
Method Details
-
getTargetedExceptions
- Specified by:
getTargetedExceptionsin classIntegrationApiExceptionTranslationHandler
-
getKeyPrefix
Description copied from class:IntegrationApiExceptionTranslationHandlerRetrieves prefix of all property keys in the resource bundle used by this extension/handler. All localization keys should start with this prefix, then followed by"."and further key specification.- Specified by:
getKeyPrefixin classIntegrationApiExceptionTranslationHandler- Returns:
- a prefix to be used for localization property keys in the resource bundle.
-