ActivityPausedException
extends ActivityCompletionException
in package
FinalYes
Indicates that the activity was paused by the user.
Catching this exception directly is discouraged and catching the parent class is recommended instead.
Table of Contents
Properties
- $activityId : string|null
- $activityType : string|null
- $runId : string|null
- $workflowId : string|null
Methods
- __construct() : mixed
- getActivityId() : string|null
- getActivityType() : string|null
- getRunId() : string|null
- getWorkflowId() : string|null
- buildMessage() : string
- Build key-value list to explain exception. Skips empty values.
Properties
$activityId
private
string|null
$activityId
= null
$activityType
private
string|null
$activityType
= null
$runId
private
string|null
$runId
= null
$workflowId
private
string|null
$workflowId
= null
Methods
__construct()
public
final __construct([string $message = "" ][, string|int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = ""
- $code : string|int = 0
- $previous : Throwable|null = null
getActivityId()
public
getActivityId() : string|null
Return values
string|nullgetActivityType()
public
getActivityType() : string|null
Return values
string|nullgetRunId()
public
getRunId() : string|null
Return values
string|nullgetWorkflowId()
public
getWorkflowId() : string|null
Return values
string|nullbuildMessage()
Build key-value list to explain exception. Skips empty values.
protected
static buildMessage(array<non-empty-string, mixed> $values) : string
Parameters
- $values : array<non-empty-string, mixed>