Class ApiRegistryExceptionTranslationHandler
java.lang.Object
de.hybris.platform.apiregistrybackoffice.handlers.ApiRegistryExceptionTranslationHandler
- All Implemented Interfaces:
com.hybris.cockpitng.service.ExceptionTranslationHandler,org.springframework.core.Ordered
public class ApiRegistryExceptionTranslationHandler
extends Object
implements com.hybris.cockpitng.service.ExceptionTranslationHandler, org.springframework.core.Ordered
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetOrder()protected booleanisExceptionTypeSupported(Throwable throwable) protected booleanisModelExceptionTranslationSupported(String exceptionMessage) protected booleanisModelRemoveException(Throwable throwable) protected booleanisModelSaveException(Throwable throwable)
-
Constructor Details
-
ApiRegistryExceptionTranslationHandler
public ApiRegistryExceptionTranslationHandler()
-
-
Method Details
-
canHandle
- Specified by:
canHandlein interfacecom.hybris.cockpitng.service.ExceptionTranslationHandler
-
toString
- Specified by:
toStringin interfacecom.hybris.cockpitng.service.ExceptionTranslationHandler
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
isExceptionTypeSupported
-
isModelRemoveException
-
isModelSaveException
-
isModelExceptionTranslationSupported
-
readConfiguredModels
-