ActivityResetException
extends ActivityCompletionException
in package
FinalYes
Indicates that the activity attempt was reset by the user.
Catching this exception directly is discouraged and catching the parent class ActivityCompletionException is recommended instead.
Table of Contents
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.
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>