Package com.uber.cadence.workflow
Class StartChildWorkflowFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.uber.cadence.workflow.WorkflowOperationException
-
- com.uber.cadence.workflow.ChildWorkflowException
-
- com.uber.cadence.workflow.StartChildWorkflowFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public final class StartChildWorkflowFailedException extends ChildWorkflowException
Indicates that child workflow failed to start. Currently the only cause is that there is already workflow running with the same ID.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StartChildWorkflowFailedException(long eventId, WorkflowExecution workflowExecution, WorkflowType workflowType, ChildWorkflowExecutionFailedCause cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChildWorkflowExecutionFailedCause
getFailureCause()
-
Methods inherited from class com.uber.cadence.workflow.ChildWorkflowException
getWorkflowExecution, getWorkflowType
-
Methods inherited from class com.uber.cadence.workflow.WorkflowOperationException
getEventId
-
-
-
-
Constructor Detail
-
StartChildWorkflowFailedException
public StartChildWorkflowFailedException(long eventId, WorkflowExecution workflowExecution, WorkflowType workflowType, ChildWorkflowExecutionFailedCause cause)
-
-
Method Detail
-
getFailureCause
public ChildWorkflowExecutionFailedCause getFailureCause()
- Returns:
- enumeration that contains the cause of the failure
-
-