Package io.temporal.workflow
Class CancelExternalWorkflowException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.temporal.failure.TemporalException
-
- io.temporal.client.WorkflowException
-
- io.temporal.workflow.CancelExternalWorkflowException
-
- All Implemented Interfaces:
java.io.Serializable
public final class CancelExternalWorkflowException extends WorkflowException
Exception used to communicate failure of a request to cancel an external workflow.TODO: Hook it up with RequestCancelExternalWorkflowExecutionFailed and WorkflowExecutionCancelRequested
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CancelExternalWorkflowException(java.lang.String message, io.temporal.api.common.v1.WorkflowExecution execution, java.lang.String workflowType, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class io.temporal.client.WorkflowException
getExecution, getWorkflowType
-
-