- All Implemented Interfaces:
- java.io.Serializable
public class NonDeterministicException
extends java.lang.IllegalStateException
Thrown if history events from the server don't match commands issued by the execution or replay
of workflow code.
This exception usually means that there is some form of non-determinism in workflow code that has
lead to a difference in the execution path taken upon replay when compared to initial execution.
That is to say the history the worker received for this workflow cannot be processed by the
current workflow code. If this happens during the replay of a new Workflow Task, this exception
will cause the Workflow Task to fail WorkflowTaskFailedCause.WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR
- See Also:
- Serialized Form