Class ActivityCompletionException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ActivityCanceledException, ActivityCompletionFailureException, ActivityNotExistsException, ActivityPausedException, ActivityResetException, ActivityWorkerShutdownException

public class ActivityCompletionException extends TemporalException
Base exception for all failures returned by an activity completion client. Do not extend!
See Also:
  • Constructor Details

    • ActivityCompletionException

      protected ActivityCompletionException(ActivityInfo info)
    • ActivityCompletionException

      protected ActivityCompletionException(ActivityInfo info, Throwable cause)
    • ActivityCompletionException

      protected ActivityCompletionException(String activityId, Throwable cause)
    • ActivityCompletionException

      protected ActivityCompletionException(Throwable cause)
    • ActivityCompletionException

      protected ActivityCompletionException()
  • Method Details

    • getWorkflowId

      public Optional<String> getWorkflowId()
      Optional as it might be not known to the exception source.
    • getRunId

      public Optional<String> getRunId()
      Optional as it might be not known to the exception source.
    • getActivityType

      public Optional<String> getActivityType()
      Optional as it might be not known to the exception source.
    • getActivityId

      public Optional<String> getActivityId()
      Optional as it might be not known to the exception source.