Copied!

ActiveJobForTargetLanguageException

ActiveJobForTargetLanguageException.php : 19
Final
Extends RuntimeException
Implements Translatable

Thrown when a job would become active for a target language that already has a pending or in-progress job.

Properties

public $targetLanguageCode read-only

ActiveJobForTargetLanguageException.php : 21
public string $targetLanguageCode

Methods

public__construct()

ActiveJobForTargetLanguageException.php : 21
public __construct(string $targetLanguageCode)

Parameters

Name Type Default value Description
$targetLanguageCode string - -

publicgetTranslatableMessage()

ActiveJobForTargetLanguageException.php : 29

Returns a translatable Message.

public getTranslatableMessage() : Translation

Return values

Translation