Package org.openwms.core.uaa
Class ServiceLayerExceptionTranslator
java.lang.Object
org.ameba.aop.ServiceLayerAspect
org.openwms.core.uaa.ServiceLayerExceptionTranslator
@Component
@Order(16)
class ServiceLayerExceptionTranslator
extends org.ameba.aop.ServiceLayerAspect
A ServiceLayerExceptionTranslator.
- Author:
- Heiko Scherrer
-
Field Summary
Fields inherited from class org.ameba.aop.ServiceLayerAspect
COMPONENT_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionOverride method to handle the transaction yourself and skip to the default exception handling .Methods inherited from class org.ameba.aop.ServiceLayerAspect
around, translateException
-
Constructor Details
-
ServiceLayerExceptionTranslator
ServiceLayerExceptionTranslator()
-
-
Method Details
-
doTranslateException
Override method to handle the transaction yourself and skip to the default exception handling .- Overrides:
doTranslateException
in classorg.ameba.aop.ServiceLayerAspect
- Parameters:
ex
- Exception to handle- Returns:
- An empty Optional to use the default exception handling or an Exception to skip default handling
-