TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
PageNotFoundException Class Reference
Inheritance diagram for PageNotFoundException:
AbstractClientErrorException StatusException Exception Exception

Public Member Functions

 __construct ($message=null, $code=0)
 

Protected Attributes

 $statusHeaders = array(\TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_404)
 
 $title = 'Page Not Found (404)'
 
 $message = 'The page you tried to access was not found.'
 

Detailed Description

Exception for Error 404 - Page Not Found

Definition at line 20 of file PageNotFoundException.php.

Constructor & Destructor Documentation

__construct (   $message = null,
  $code = 0 
)

Constructor for this Status Exception

Parameters
string$messageError Message
int$codeException Code

Definition at line 43 of file PageNotFoundException.php.

References PageNotFoundException\$message.

Member Data Documentation

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

Definition at line 35 of file PageNotFoundException.php.

Referenced by PageNotFoundException\__construct().

$statusHeaders = array(\TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_404)
protected

Definition at line 25 of file PageNotFoundException.php.

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

Definition at line 30 of file PageNotFoundException.php.