Class NonDeterministicException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
io.temporal.worker.NonDeterministicException
- All Implemented Interfaces:
Serializable
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
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:
-
Constructor Summary
ConstructorsConstructorDescriptionNonDeterministicException(String message) NonDeterministicException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NonDeterministicException
-
NonDeterministicException
-