DmitryDulepov\Realurl\Decoder\UrlDecoder::throw404 PHP Метод

throw404() защищенный Метод

Throws a 404 error with the corresponding message.
protected throw404 ( string $errorMessage ) : void
$errorMessage string
Результат void
    protected function throw404($errorMessage)
    {
        // TODO Write to our own error log here
        // Set language to allow localized error pages
        if (MathUtility::canBeInterpretedAsInteger($this->detectedLanguageId)) {
            $_GET['L'] = $this->detectedLanguageId;
        }
        $this->caller->pageNotFoundAndExit($errorMessage);
    }