Package com.uber.cadence.workflow
Class CancelExternalWorkflowException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.uber.cadence.workflow.WorkflowOperationException
-
- com.uber.cadence.workflow.CancelExternalWorkflowException
-
- All Implemented Interfaces:
java.io.Serializable
public final class CancelExternalWorkflowException extends WorkflowOperationException
Exception used to communicate failure of a request to signal an external workflow. TODO: Hook it up with RequestCancelExternalWorkflowExecutionFailed and WorkflowExecutionCancelRequested- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CancelExternalWorkflowException(long eventId, WorkflowExecution signaledExecution, SignalExternalWorkflowExecutionFailedCause cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignalExternalWorkflowExecutionFailedCause
getFailureCause()
WorkflowExecution
getSignaledExecution()
-
Methods inherited from class com.uber.cadence.workflow.WorkflowOperationException
getEventId
-
-
-
-
Constructor Detail
-
CancelExternalWorkflowException
public CancelExternalWorkflowException(long eventId, WorkflowExecution signaledExecution, SignalExternalWorkflowExecutionFailedCause cause)
-
-
Method Detail
-
getFailureCause
public SignalExternalWorkflowExecutionFailedCause getFailureCause()
-
getSignaledExecution
public WorkflowExecution getSignaledExecution()
-
-