Package com.uber.cadence.client
Class WorkflowFailureException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.uber.cadence.client.WorkflowException
-
- com.uber.cadence.client.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 throughThrowable.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 com.uber.cadence.client.WorkflowException
getExecution, getWorkflowType
-
-
-
-
Constructor Detail
-
WorkflowFailureException
public WorkflowFailureException(WorkflowExecution execution, java.util.Optional<java.lang.String> workflowType, long decisionTaskCompletedEventId, java.lang.Throwable failure)
-
-