Package io.temporal.failure
Class ChildWorkflowFailure
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.temporal.failure.TemporalException
-
- io.temporal.failure.TemporalFailure
-
- io.temporal.failure.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 io.temporal.failure.TemporalFailure
getOriginalMessage, setDataConverter
-
-
-
-
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)
-
-