Class WorkflowTerminatedException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class WorkflowTerminatedException
    extends WorkflowException
    Indicates that a workflow was forcefully terminated by an external command to Cadence service.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkflowTerminatedException​(WorkflowExecution execution, java.util.Optional<java.lang.String> workflowType, java.lang.String reason, java.lang.String identity, byte[] details)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getDetails()  
      java.lang.String getIdentity()  
      • 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

      • WorkflowTerminatedException

        public WorkflowTerminatedException​(WorkflowExecution execution,
                                           java.util.Optional<java.lang.String> workflowType,
                                           java.lang.String reason,
                                           java.lang.String identity,
                                           byte[] details)
    • Method Detail

      • getIdentity

        public java.lang.String getIdentity()
      • getDetails

        public byte[] getDetails()