Class WorkflowFailureException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class WorkflowFailureException
    extends WorkflowException
    Indicates that a workflow failed. An original cause of the workflow failure can be retrieved through Throwable.getCause().
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkflowFailureException​(WorkflowExecution execution, java.util.Optional<java.lang.String> workflowType, long decisionTaskCompletedEventId, java.lang.Throwable failure)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getDecisionTaskCompletedEventId()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WorkflowFailureException

        public WorkflowFailureException​(WorkflowExecution execution,
                                        java.util.Optional<java.lang.String> workflowType,
                                        long decisionTaskCompletedEventId,
                                        java.lang.Throwable failure)
    • Method Detail

      • getDecisionTaskCompletedEventId

        public long getDecisionTaskCompletedEventId()