public function NotAcceptableHttpException::__construct

Constructor.

Parameters

string $message The internal exception message:

\Exception $previous The previous exception:

integer $code The internal exception code:

Overrides HttpException::__construct

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/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);
}