Class WorkflowException

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected WorkflowException​(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)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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()  
      • 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

      • WorkflowException

        protected WorkflowException​(@Nonnull
                                    io.temporal.api.common.v1.WorkflowExecution execution,
                                    java.lang.String workflowType,
                                    java.lang.Throwable cause)
      • WorkflowException

        protected WorkflowException​(java.lang.String message,
                                    io.temporal.api.common.v1.WorkflowExecution execution,
                                    java.lang.String workflowType,
                                    java.lang.Throwable cause)
    • Method Detail

      • getExecution

        public io.temporal.api.common.v1.WorkflowExecution getExecution()
      • getWorkflowType

        public java.util.Optional<java.lang.String> getWorkflowType()
      • getMessage

        public static java.lang.String getMessage​(io.temporal.api.common.v1.WorkflowExecution execution,
                                                  java.lang.String workflowType)