Class ChildWorkflowTaskFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.temporal.internal.replay.ChildWorkflowTaskFailedException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionChildWorkflowTaskFailedException(ChildWorkflowFailure exception, io.temporal.api.failure.v1.Failure originalCauseFailure) -
Method Summary
Modifier and TypeMethodDescriptionio.temporal.api.failure.v1.FailureMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ChildWorkflowTaskFailedException
public ChildWorkflowTaskFailedException(ChildWorkflowFailure exception, io.temporal.api.failure.v1.Failure originalCauseFailure)
-
-
Method Details
-
getException
-
getOriginalCauseFailure
public io.temporal.api.failure.v1.Failure getOriginalCauseFailure()
-