Package com.microsoft.durabletask
Class OrchestratorBlockedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.microsoft.durabletask.OrchestratorBlockedException
-
- All Implemented Interfaces:
java.io.Serializable
public final class OrchestratorBlockedException extends java.lang.RuntimeExceptionControl flowThrowableclass for orchestrator functions. ThisThrowablemust never be caught by user code.OrchestratorBlockedExceptionis thrown when an orchestrator callsTask.await()on an uncompleted task. The purpose of throwing in this way is to halt execution of the orchestrator to save the current state and commit any side effects. CatchingOrchestratorBlockedExceptionin user code could prevent the orchestration from saving state and scheduling new tasks, resulting in the orchestration getting stuck.- See Also:
- Serialized Form