public function HttpException::__construct

14 calls to HttpException::__construct()
AccessDeniedHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/AccessDeniedHttpException.php
Constructor.
BadRequestHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/BadRequestHttpException.php
Constructor.
ConflictHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/ConflictHttpException.php
Constructor.
GoneHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/GoneHttpException.php
Constructor.
LengthRequiredHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/LengthRequiredHttpException.php
Constructor.

... See full list

14 methods override HttpException::__construct()
AccessDeniedHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/AccessDeniedHttpException.php
Constructor.
BadRequestHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/BadRequestHttpException.php
Constructor.
ConflictHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/ConflictHttpException.php
Constructor.
GoneHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/GoneHttpException.php
Constructor.
LengthRequiredHttpException::__construct in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/LengthRequiredHttpException.php
Constructor.

... See full list

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);
}