Class OnWalletTransferBillCreateEvent.Handler
java.lang.Object
com.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillCreateEvent>
com.sankcrm.erp.financial.event.transfer.OnWalletTransferBillCreateEvent.Handler
- All Implemented Interfaces:
com.sankcrm.erp.event.EventHandler<WalletTransferBillCreateEvent>
- Enclosing interface:
OnWalletTransferBillCreateEvent
@Component("handOnWalletTransferBillCreateEvent")
public static class OnWalletTransferBillCreateEvent.Handler
extends com.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillCreateEvent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoHand(WalletTransferBillCreateEvent event, Exception throwable) 处理异常protected voidhand(WalletTransferBillCreateEvent event, com.sankcrm.erp.bus.exception.CommandInvalidException throwable) protected voidhand(WalletTransferBillCreateEvent event, com.sankcrm.erp.domain.exception.EntityExistException throwable) protected voidhand(WalletTransferBillCreateEvent event, com.sankcrm.erp.domain.exception.EntityNoneException throwable) protected voidhand(WalletTransferBillCreateEvent event, Exception throwable) voidMethods inherited from class com.sankcrm.erp.event.AbstractEventHandler
handConcurrency, isConcurrency, logger, tryHandle
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
handle
public void handle(WalletTransferBillCreateEvent event) throws com.sankcrm.erp.common.exception.CoreException - Throws:
com.sankcrm.erp.common.exception.CoreException
-
hand
protected void hand(WalletTransferBillCreateEvent event, Exception throwable) throws com.sankcrm.erp.common.exception.CoreException - Overrides:
handin classcom.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillCreateEvent>- Throws:
com.sankcrm.erp.common.exception.CoreException
-
hand
protected void hand(WalletTransferBillCreateEvent event, com.sankcrm.erp.domain.exception.EntityNoneException throwable) throws com.sankcrm.erp.common.exception.CoreException - Overrides:
handin classcom.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillCreateEvent>- Throws:
com.sankcrm.erp.common.exception.CoreException
-
hand
protected void hand(WalletTransferBillCreateEvent event, com.sankcrm.erp.bus.exception.CommandInvalidException throwable) throws com.sankcrm.erp.common.exception.CoreException - Overrides:
handin classcom.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillCreateEvent>- Throws:
com.sankcrm.erp.common.exception.CoreException
-
hand
protected void hand(WalletTransferBillCreateEvent event, com.sankcrm.erp.domain.exception.EntityExistException throwable) throws com.sankcrm.erp.common.exception.CoreException - Overrides:
handin classcom.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillCreateEvent>- Throws:
com.sankcrm.erp.common.exception.CoreException
-
doHand
处理异常- Parameters:
event- 事件throwable- 异常信息
-