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 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:
      hand in class com.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:
      hand in class com.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:
      hand in class com.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:
      hand in class com.sankcrm.erp.event.AbstractEventHandler<WalletTransferBillAuditEvent>
      Throws:
      com.sankcrm.erp.common.exception.CoreException
    • doHand

      protected void doHand(WalletTransferBillAuditEvent event, Exception throwable)
      处理异常
      Parameters:
      event - 事件
      throwable - 异常信息