Class OnWalletTransferBillAuditEvent.Handler
java.lang.Object
com.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillAuditEvent>
com.sankcrm.erp.financial.event.transfer.OnWalletTransferBillAuditEvent.Handler
- All Implemented Interfaces:
com.sankcrm.erp.event.EventHandler<WalletTransferBillAuditEvent>
- Enclosing interface:
OnWalletTransferBillAuditEvent
@Component("handOnWalletTransferBillAuditEvent")
public static class OnWalletTransferBillAuditEvent.Handler
extends com.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillAuditEvent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoHand(WalletTransferBillAuditEvent event, Exception throwable) 处理异常protected voidhand(WalletTransferBillAuditEvent event, com.sankcrm.erp.bus.exception.CommandInvalidException throwable) protected voidhand(WalletTransferBillAuditEvent event, com.sankcrm.erp.domain.exception.EntityExistException throwable) protected voidhand(WalletTransferBillAuditEvent event, com.sankcrm.erp.domain.exception.EntityNoneException throwable) protected voidhand(WalletTransferBillAuditEvent 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(WalletTransferBillAuditEvent event) throws com.sankcrm.erp.common.exception.CoreException - Throws:
com.sankcrm.erp.common.exception.CoreException
-
hand
protected void hand(WalletTransferBillAuditEvent event, Exception throwable) throws com.sankcrm.erp.common.exception.CoreException - Overrides:
handin classcom.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillAuditEvent>- Throws:
com.sankcrm.erp.common.exception.CoreException
-
hand
protected void hand(WalletTransferBillAuditEvent event, com.sankcrm.erp.domain.exception.EntityNoneException throwable) throws com.sankcrm.erp.common.exception.CoreException - Overrides:
handin classcom.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillAuditEvent>- Throws:
com.sankcrm.erp.common.exception.CoreException
-
hand
protected void hand(WalletTransferBillAuditEvent event, com.sankcrm.erp.bus.exception.CommandInvalidException throwable) throws com.sankcrm.erp.common.exception.CoreException - Overrides:
handin classcom.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillAuditEvent>- Throws:
com.sankcrm.erp.common.exception.CoreException
-
hand
protected void hand(WalletTransferBillAuditEvent event, com.sankcrm.erp.domain.exception.EntityExistException throwable) throws com.sankcrm.erp.common.exception.CoreException - Overrides:
handin classcom.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillAuditEvent>- Throws:
com.sankcrm.erp.common.exception.CoreException
-
doHand
处理异常- Parameters:
event- 事件throwable- 异常信息
-