TYPO3 CMS  TYPO3_6-2
PageNotFoundException.php
Go to the documentation of this file.
1 <?php
3 
22 
26  protected $statusHeaders = array(\TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_404);
27 
31  protected $title = 'Page Not Found (404)';
32 
36  protected $message = 'The page you tried to access was not found.';
37 
44  public function __construct($message = NULL, $code = 0) {
45  if (!empty($message)) {
46  $this->message = $message;
47  }
48  parent::__construct($this->statusHeaders, $this->message, $this->title, $code);
49  }
50 
51 }