public function NotFoundHttpException::__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/NotFoundHttpException.php, line 28

Class

NotFoundHttpException
NotFoundHttpException.

Namespace

Symfony\Component\HttpKernel\Exception

Code

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