You are here

public function NotAcceptableHttpException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Exception/NotAcceptableHttpException.php \Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException::__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/NotAcceptableHttpException.php, line 28

Class

NotAcceptableHttpException
NotAcceptableHttpException.

Namespace

Symfony\Component\HttpKernel\Exception

Code

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