Class PotentialDeadlockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.temporal.internal.sync.PotentialDeadlockException
- All Implemented Interfaces:
Serializable
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 Summary
Modifier and TypeMethodDescriptionio.temporal.internal.sync.WorkflowThreadContextMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
getWorkflowThreadContext
public io.temporal.internal.sync.WorkflowThreadContext getWorkflowThreadContext()
-