You are here

public function AccessDeniedHttpException::__construct in Zircon Profile 8

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

Constructor.

Parameters

string $message The internal exception message:

\Exception $previous The previous exception:

int $code The internal exception code:

Overrides HttpException::__construct

File

vendor/symfony/http-kernel/Exception/AccessDeniedHttpException.php, line 29

Class

AccessDeniedHttpException
AccessDeniedHttpException.

Namespace

Symfony\Component\HttpKernel\Exception

Code

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