Class IntegrationBackofficeExceptionTranslationHandler
- java.lang.Object
-
- de.hybris.platform.integrationbackoffice.exceptionhandlers.IntegrationApiExceptionTranslationHandler
-
- de.hybris.platform.integrationbackoffice.exceptionhandlers.IntegrationBackofficeExceptionTranslationHandler
-
- All Implemented Interfaces:
com.hybris.cockpitng.service.ExceptionTranslationHandler,org.springframework.core.Ordered
public class IntegrationBackofficeExceptionTranslationHandler extends IntegrationApiExceptionTranslationHandler
A class for translating target exceptions to localized error messages for integration backoffice.
-
-
Constructor Summary
Constructors Constructor Description IntegrationBackofficeExceptionTranslationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringconvertExceptionToResourceMsg(java.lang.Throwable exception)Try to get bundle resource with the information of the exception that is being handled.protected java.util.List<java.lang.String>getTargetedException()-
Methods inherited from class de.hybris.platform.integrationbackoffice.exceptionhandlers.IntegrationApiExceptionTranslationHandler
canHandle, getOrder, toString
-
-
-
-
Method Detail
-
convertExceptionToResourceMsg
public java.lang.String convertExceptionToResourceMsg(java.lang.Throwable exception)
Description copied from class:IntegrationApiExceptionTranslationHandlerTry to get bundle resource with the information of the exception that is being handled.- Specified by:
convertExceptionToResourceMsgin classIntegrationApiExceptionTranslationHandler- Parameters:
exception- The exception that is being translated. Use its class name or other information as key to get bundle resource
-
getTargetedException
protected final java.util.List<java.lang.String> getTargetedException()
- Specified by:
getTargetedExceptionin classIntegrationApiExceptionTranslationHandler- Returns:
- The list of exceptions that this handler is able to handle.
-
-