Package io.temporal.internal.replay
Class ChildWorkflowTaskFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.temporal.internal.replay.ChildWorkflowTaskFailedException
-
- All Implemented Interfaces:
java.io.Serializable
public class ChildWorkflowTaskFailedException extends java.lang.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChildWorkflowTaskFailedException(ChildWorkflowFailure exception, io.temporal.api.failure.v1.Failure originalCauseFailure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChildWorkflowFailure
getException()
io.temporal.api.failure.v1.Failure
getOriginalCauseFailure()
-
-
-
Constructor Detail
-
ChildWorkflowTaskFailedException
public ChildWorkflowTaskFailedException(ChildWorkflowFailure exception, io.temporal.api.failure.v1.Failure originalCauseFailure)
-
-
Method Detail
-
getException
public ChildWorkflowFailure getException()
-
getOriginalCauseFailure
public io.temporal.api.failure.v1.Failure getOriginalCauseFailure()
-
-