Class WorkflowExecutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.temporal.internal.worker.WorkflowExecutionException
All Implemented Interfaces:
Serializable

public final class WorkflowExecutionException extends RuntimeException
Internal. Do not throw or catch in application level code.

This exception is used to signal that the workflow execution should be failed with CommandType.COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION

See Also:
  • Constructor Details

    • WorkflowExecutionException

      public WorkflowExecutionException(io.temporal.api.failure.v1.Failure failure)
  • Method Details

    • getFailure

      public io.temporal.api.failure.v1.Failure getFailure()