You are here

public function BadRequestHttpException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Exception/BadRequestHttpException.php \Symfony\Component\HttpKernel\Exception\BadRequestHttpException::__construct()

Constructor.

Parameters

string $message The internal exception message:

\Exception $previous The previous exception:

int $code The internal exception code:

Overrides HttpException::__construct

1 call to BadRequestHttpException::__construct()
BrokenPostRequestException::__construct in core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php
Constructs a new BrokenPostRequestException.
1 method overrides BadRequestHttpException::__construct()
BrokenPostRequestException::__construct in core/lib/Drupal/Core/Form/Exception/BrokenPostRequestException.php
Constructs a new BrokenPostRequestException.

File

vendor/symfony/http-kernel/Exception/BadRequestHttpException.php, line 28

Class

BadRequestHttpException
BadRequestHttpException.

Namespace

Symfony\Component\HttpKernel\Exception

Code

public function __construct($message = null, \Exception $previous = null, $code = 0) {
  parent::__construct(400, $message, $previous, array(), $code);
}