class NotFoundHttpException

NotFoundHttpException.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of NotFoundHttpException

24 files declare their use of NotFoundHttpException
book.pages.inc in drupal/core/modules/book/book.pages.inc
User page callbacks for the book module.
comment.admin.inc in drupal/core/modules/comment/comment.admin.inc
Admin page callbacks for the Comment module.
comment.module in drupal/core/modules/comment/comment.module
Enables users to comment on published content.
comment.pages.inc in drupal/core/modules/comment/comment.pages.inc
User page callbacks for the Comment module.
common.inc in drupal/core/includes/common.inc
Common functions that many Drupal modules will need to reference.

... See full list

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/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 integer   $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