function NotFoundHttpException::__construct
Overrides HttpException::__construct
2 calls to NotFoundHttpException::__construct()
- CacheableNotFoundHttpException::__construct in core/
lib/ Drupal/ Core/ Http/ Exception/ CacheableNotFoundHttpException.php - CacheableNotFoundHttpException::__construct in core/
lib/ Drupal/ Core/ Http/ Exception/ CacheableNotFoundHttpException.php
1 method overrides NotFoundHttpException::__construct()
- CacheableNotFoundHttpException::__construct in core/
lib/ Drupal/ Core/ Http/ Exception/ CacheableNotFoundHttpException.php
File
-
vendor/
symfony/ http-kernel/ Exception/ NotFoundHttpException.php, line 19
Class
- NotFoundHttpException
- @author Fabien Potencier <fabien@symfony.com>
Namespace
Symfony\Component\HttpKernel\ExceptionCode
public function __construct(string $message = '', ?\Throwable $previous = null, int $code = 0, array $headers = []) {
parent::__construct(404, $message, $previous, $headers, $code);
}