Class OrchestratorBlockedException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class OrchestratorBlockedException
    extends java.lang.RuntimeException
    Control flow Throwable class for orchestrator functions. This Throwable must never be caught by user code.

    OrchestratorBlockedException is thrown when an orchestrator calls Task.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. Catching OrchestratorBlockedException in user code could prevent the orchestration from saving state and scheduling new tasks, resulting in the orchestration getting stuck.

    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OrchestratorBlockedException

        public OrchestratorBlockedException​(java.lang.String message)