eZ\Publish\Core\Base\Exceptions\NotFound\LimitationNotFoundException::__construct PHP Method

__construct() public method

Creates a Limitation Not Found exception with info on how to fix.
public __construct ( string $limitation, Exception $previous = null )
$limitation string
$previous Exception
    public function __construct($limitation, Exception $previous = null)
    {
        $this->setMessageTemplate("Limitation '%limitation%' not found, needs to be implemented or configured to use Limitation\\BlockingLimitationType (%ezpublish.api.role.limitation_type.blocking.class%");
        $this->setParameters(['%limitation%' => $limitation]);
        parent::__construct($this->getBaseTranslation(), self::INTERNAL_ERROR, $previous);
    }
LimitationNotFoundException