public function HttpException::__construct

3 calls to HttpException::__construct()
AccessDeniedHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/AccessDeniedHttpException.php
Constructor.
MethodNotAllowedHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/MethodNotAllowedHttpException.php
Constructor.
NotFoundHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/NotFoundHttpException.php
Constructor.
3 methods override HttpException::__construct()
AccessDeniedHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/AccessDeniedHttpException.php
Constructor.
MethodNotAllowedHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/MethodNotAllowedHttpException.php
Constructor.
NotFoundHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/NotFoundHttpException.php
Constructor.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/HttpException.php, line 24

Class

HttpException
HttpException.

Namespace

Symfony\Component\HttpKernel\Exception

Code

public function __construct($statusCode, $message = null, \Exception $previous = null, array $headers = array(), $code = 0) {
  $this->statusCode = $statusCode;
  $this->headers = $headers;
  parent::__construct($message, $code, $previous);
}