Package com.uber.cadence.client
Class WorkflowTimedOutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.uber.cadence.client.WorkflowException
-
- com.uber.cadence.client.WorkflowTimedOutException
-
- All Implemented Interfaces:
java.io.Serializable
public final class WorkflowTimedOutException extends WorkflowException
Indicates that a workflow exceeded its execution timeout and was forcefully terminated by the Cadence service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowTimedOutException(WorkflowExecution execution, java.util.Optional<java.lang.String> workflowType, TimeoutType timeoutType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeoutType
getTimeoutType()
-
Methods inherited from class com.uber.cadence.client.WorkflowException
getExecution, getWorkflowType
-
-
-
-
Constructor Detail
-
WorkflowTimedOutException
public WorkflowTimedOutException(WorkflowExecution execution, java.util.Optional<java.lang.String> workflowType, TimeoutType timeoutType)
-
-
Method Detail
-
getTimeoutType
public TimeoutType getTimeoutType()
-
-