Class WorkflowExecutionException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class WorkflowExecutionException
    extends java.lang.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkflowExecutionException​(io.temporal.api.failure.v1.Failure failure)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.temporal.api.failure.v1.Failure getFailure()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WorkflowExecutionException

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

      • getFailure

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