You are here

public function NotFoundHttpException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Exception/NotFoundHttpException.php \Symfony\Component\HttpKernel\Exception\NotFoundHttpException::__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/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);
}