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 SummaryFields inherited from class org.ameba.aop.ServiceLayerAspectCOMPONENT_NAME
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionOverride method to handle the transaction yourself and skip to the default exception handling .Methods inherited from class org.ameba.aop.ServiceLayerAspectaround, translateException
- 
Constructor Details- 
ServiceLayerExceptionTranslatorServiceLayerExceptionTranslator()
 
- 
- 
Method Details- 
doTranslateExceptionOverride method to handle the transaction yourself and skip to the default exception handling .- Overrides:
- doTranslateExceptionin class- org.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
 
 
-