Class ChildWorkflowFailure

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ChildWorkflowFailure
    extends TemporalFailure
    This exception is expected to be thrown only by the Temporal framework code.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ChildWorkflowFailure​(long initiatedEventId, long startedEventId, java.lang.String workflowType, io.temporal.api.common.v1.WorkflowExecution execution, java.lang.String namespace, io.temporal.api.enums.v1.RetryState retryState, java.lang.Throwable cause)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.temporal.api.common.v1.WorkflowExecution getExecution()  
      long getInitiatedEventId()  
      static java.lang.String getMessage​(io.temporal.api.common.v1.WorkflowExecution execution, java.lang.String workflowType, long initiatedEventId, long startedEventId, java.lang.String namespace, io.temporal.api.enums.v1.RetryState retryState)  
      java.lang.String getNamespace()  
      io.temporal.api.enums.v1.RetryState getRetryState()  
      long getStartedEventId()  
      java.lang.String getWorkflowType()  
      • 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

      • ChildWorkflowFailure

        public ChildWorkflowFailure​(long initiatedEventId,
                                    long startedEventId,
                                    java.lang.String workflowType,
                                    io.temporal.api.common.v1.WorkflowExecution execution,
                                    java.lang.String namespace,
                                    io.temporal.api.enums.v1.RetryState retryState,
                                    java.lang.Throwable cause)
    • Method Detail

      • getInitiatedEventId

        public long getInitiatedEventId()
      • getStartedEventId

        public long getStartedEventId()
      • getNamespace

        public java.lang.String getNamespace()
      • getRetryState

        public io.temporal.api.enums.v1.RetryState getRetryState()
      • getExecution

        public io.temporal.api.common.v1.WorkflowExecution getExecution()
      • getWorkflowType

        public java.lang.String getWorkflowType()
      • getMessage

        public static java.lang.String getMessage​(io.temporal.api.common.v1.WorkflowExecution execution,
                                                  java.lang.String workflowType,
                                                  long initiatedEventId,
                                                  long startedEventId,
                                                  java.lang.String namespace,
                                                  io.temporal.api.enums.v1.RetryState retryState)