Package io.temporal.internal.sync
Class PotentialDeadlockException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.temporal.internal.sync.PotentialDeadlockException
-
- All Implemented Interfaces:
java.io.Serializable
public class PotentialDeadlockException extends java.lang.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:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
WorkflowThreadContext
getWorkflowThreadContext()
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
getWorkflowThreadContext
public WorkflowThreadContext getWorkflowThreadContext()
-
-