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