Class ChildWorkflowTaskFailedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.temporal.internal.replay.ChildWorkflowTaskFailedException
All Implemented Interfaces:
Serializable

public class ChildWorkflowTaskFailedException extends RuntimeException
Internal. Do not catch or throw by application level code. Used by the child workflow state machines in case of child workflow task execution failure and contains an original unparsed Failure message with details from the attributes in the exception.

This class is needed to don't make Failure -> Exception conversion inside the state machines. So the state machine forms ChildWorkflowFailure without cause and parse the original Failure, so the outside code may join them together.

See Also:
  • Constructor Details

    • ChildWorkflowTaskFailedException

      public ChildWorkflowTaskFailedException(ChildWorkflowFailure exception, io.temporal.api.failure.v1.Failure originalCauseFailure)
  • Method Details

    • getException

      public ChildWorkflowFailure getException()
    • getOriginalCauseFailure

      public io.temporal.api.failure.v1.Failure getOriginalCauseFailure()