Package io.temporal.client
Class WorkflowNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.temporal.failure.TemporalException
-
- io.temporal.client.WorkflowException
-
- io.temporal.client.WorkflowNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public final class WorkflowNotFoundException extends WorkflowException
Thrown when a workflow with the given id is not known to the Temporal service or in an incorrect state to perform the operation.Examples of possible causes:
- workflow id doesn't exist
- workflow was purged from the service after reaching its retention limit
- attempt to signal a workflow that is completed
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowNotFoundException(io.temporal.api.common.v1.WorkflowExecution execution, java.lang.String workflowType, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class io.temporal.client.WorkflowException
getExecution, getWorkflowType
-
-