Class 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()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable