ShortcutTargetPageNotFoundException

class \TYPO3\CMS\Core\Error\Http\ShortcutTargetPageNotFoundException

Extends
PageNotFoundException

Exception when a shortcut target page could not be resolved

Table of Contents

Properties

$message  : string
$statusHeaders  : array
$title  : string

Methods

__construct()  : mixed
Constructor for this Status Exception
getStatusHeaders()  : array
Getter for the Status Header.
getTitle()  : string
Getter for the title.
setTitle()  : mixed
Setter for the title.

Properties

$message

protected string $message = 'The page you tried to access was not found.'

Error Message

$statusHeaders

protected array $statusHeaders = [\TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_404]

HTTP Status Header lines

$title

protected string $title = 'Page Not Found (404)'

Title of the message

Methods

__construct()

Constructor for this Status Exception

public __construct([string $message = null ][, int $code = 0 ]) : mixed

Parameters

$message : string = null

Error Message

$code : int = 0

Exception Code

getStatusHeaders()

Getter for the Status Header.

public getStatusHeaders() : array

Return values

array

getTitle()

Getter for the title.

public getTitle() : string

Return values

string

setTitle()

Setter for the title.

public setTitle(string $title) : mixed

Parameters

$title : string
On this page