You are here

class NotFoundHttpException in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Exception/NotFoundHttpException.php \Symfony\Component\HttpKernel\Exception\NotFoundHttpException

NotFoundHttpException.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of NotFoundHttpException

31 files declare their use of NotFoundHttpException
BanDelete.php in core/modules/ban/src/Form/BanDelete.php
Contains \Drupal\ban\Form\BanDelete.
BlockController.php in core/modules/block/src/Controller/BlockController.php
Contains \Drupal\block\Controller\BlockController.
BlockListController.php in core/modules/block/src/Controller/BlockListController.php
Contains \Drupal\block\Controller\BlockListController.
BookController.php in core/modules/book/src/Controller/BookController.php
Contains \Drupal\book\Controller\BookController.
CommentController.php in core/modules/comment/src/Controller/CommentController.php
Contains \Drupal\comment\Controller\CommentController.

... See full list

File

vendor/symfony/http-kernel/Exception/NotFoundHttpException.php, line 19

Namespace

Symfony\Component\HttpKernel\Exception
View source
class NotFoundHttpException extends HttpException {

  /**
   * Constructor.
   *
   * @param string     $message  The internal exception message
   * @param \Exception $previous The previous exception
   * @param int        $code     The internal exception code
   */
  public function __construct($message = null, \Exception $previous = null, $code = 0) {
    parent::__construct(404, $message, $previous, array(), $code);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
HttpException::$headers private property
HttpException::$statusCode private property
HttpException::getHeaders public function Returns response headers. Overrides HttpExceptionInterface::getHeaders
HttpException::getStatusCode public function Returns the status code. Overrides HttpExceptionInterface::getStatusCode
NotFoundHttpException::__construct public function Constructor. Overrides HttpException::__construct