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

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