class CacheableNotFoundHttpException
A cacheable NotFoundHttpException.
Hierarchy
- class \Symfony\Component\HttpKernel\Exception\HttpException extends \Symfony\Component\HttpKernel\Exception\RuntimeException implements \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface
- class \Symfony\Component\HttpKernel\Exception\NotFoundHttpException extends \Symfony\Component\HttpKernel\Exception\HttpException
- class \Drupal\Core\Http\Exception\CacheableNotFoundHttpException extends \Symfony\Component\HttpKernel\Exception\NotFoundHttpException implements \Drupal\Core\Cache\CacheableDependencyInterface uses \Drupal\Core\Cache\CacheableDependencyTrait
- class \Symfony\Component\HttpKernel\Exception\NotFoundHttpException extends \Symfony\Component\HttpKernel\Exception\HttpException
Expanded class hierarchy of CacheableNotFoundHttpException
1 file declares its use of CacheableNotFoundHttpException
- VersionNegotiator.php in core/
modules/ jsonapi/ src/ Revisions/ VersionNegotiator.php
File
-
core/
lib/ Drupal/ Core/ Http/ Exception/ CacheableNotFoundHttpException.php, line 12
Namespace
Drupal\Core\Http\ExceptionView source
class CacheableNotFoundHttpException extends NotFoundHttpException implements CacheableDependencyInterface {
use CacheableDependencyTrait;
/**
* {@inheritdoc}
*/
public function __construct(CacheableDependencyInterface $cacheability, $message = '', ?\Exception $previous = NULL, $code = 0) {
$this->setCacheability($cacheability);
parent::__construct($message, $previous, $code);
}
}