Class PotentialDeadlockException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.temporal.internal.sync.PotentialDeadlockException
All Implemented Interfaces:
Serializable

public class PotentialDeadlockException extends RuntimeException
A workflow tasks are allowed to execute only some limited amount of time without interruption. If workflow task runs longer than specified interval without yielding (like calling an Activity), it will fail automatically with this exceptions. This is done to detect deadlocks in workflows and based on the assumptions that workflow code shouldn't be blocking.
See Also:
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getWorkflowThreadContext

      public io.temporal.internal.sync.WorkflowThreadContext getWorkflowThreadContext()