public abstract class WorkflowException extends TemporalException
Modifier | Constructor and Description |
---|---|
protected |
WorkflowException(java.lang.String message,
io.temporal.api.common.v1.WorkflowExecution execution,
java.lang.String workflowType,
java.lang.Throwable cause) |
protected |
WorkflowException(io.temporal.api.common.v1.WorkflowExecution execution,
java.lang.String workflowType,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
io.temporal.api.common.v1.WorkflowExecution |
getExecution() |
static java.lang.String |
getMessage(io.temporal.api.common.v1.WorkflowExecution execution,
java.lang.String workflowType) |
java.util.Optional<java.lang.String> |
getWorkflowType() |
protected WorkflowException(@Nonnull io.temporal.api.common.v1.WorkflowExecution execution, java.lang.String workflowType, java.lang.Throwable cause)
protected WorkflowException(java.lang.String message, io.temporal.api.common.v1.WorkflowExecution execution, java.lang.String workflowType, java.lang.Throwable cause)
public io.temporal.api.common.v1.WorkflowExecution getExecution()
public java.util.Optional<java.lang.String> getWorkflowType()
public static java.lang.String getMessage(io.temporal.api.common.v1.WorkflowExecution execution, java.lang.String workflowType)