Class TxInHandleFailureWrappingWork

    • Constructor Detail

      • TxInHandleFailureWrappingWork

        public TxInHandleFailureWrappingWork​(BonitaWork work)
    • Method Detail

      • work

        public java.util.concurrent.CompletableFuture<java.lang.Void> work​(java.util.Map<java.lang.String,​java.lang.Object> context)
                                                                    throws java.lang.Exception
        Description copied from class: BonitaWork
        Execution code of the work
        Specified by:
        work in class BonitaWork
        Parameters:
        context - a map of context that can be filled by a work to be given to a wrapped work
        Throws:
        java.lang.Exception
      • handleFailure

        public void handleFailure​(java.lang.Throwable e,
                                  java.util.Map<java.lang.String,​java.lang.Object> context)
                           throws java.lang.Exception
        Overrides:
        handleFailure in class WrappingBonitaWork
        Throws:
        java.lang.Exception