Class WorkflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.temporal.failure.TemporalException
io.temporal.client.WorkflowException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CancelExternalWorkflowException,SignalExternalWorkflowException,WorkflowExecutionAlreadyStarted,WorkflowFailedException,WorkflowNotFoundException,WorkflowQueryException,WorkflowServiceException,WorkflowUpdateException
Base exception for all workflow failures.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWorkflowException(io.temporal.api.common.v1.WorkflowExecution execution, String workflowType, Throwable cause) protectedWorkflowException(String message, io.temporal.api.common.v1.WorkflowExecution execution, String workflowType, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionio.temporal.api.common.v1.WorkflowExecutionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WorkflowException
-
WorkflowException
-
-
Method Details
-
getExecution
public io.temporal.api.common.v1.WorkflowExecution getExecution() -
getWorkflowType
-