Class TaskException.Cancelled

Object
Throwable
Exception
RuntimeException
akka.javasdk.agent.task.TaskException
akka.javasdk.agent.task.TaskException.Cancelled
All Implemented Interfaces:
Serializable
Enclosing class:
TaskException

public static final class TaskException.Cancelled extends TaskException
Thrown when a task reaches the TaskStatus.CANCELLED state.
See Also:
  • Constructor Details

    • Cancelled

      public Cancelled(String taskId, String reason)