Class CancelExternalWorkflowException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class CancelExternalWorkflowException
    extends WorkflowException
    Exception used to communicate failure of a request to cancel an external workflow.

    TODO: Hook it up with RequestCancelExternalWorkflowExecutionFailed and WorkflowExecutionCancelRequested

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CancelExternalWorkflowException​(java.lang.String message, io.temporal.api.common.v1.WorkflowExecution execution, java.lang.String workflowType, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CancelExternalWorkflowException

        public CancelExternalWorkflowException​(java.lang.String message,
                                               io.temporal.api.common.v1.WorkflowExecution execution,
                                               java.lang.String workflowType,
                                               java.lang.Throwable cause)
    • Method Detail

      • toString

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