You are here

public function CacheableNotAcceptableHttpException::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php \Drupal\Core\Http\Exception\CacheableNotAcceptableHttpException::__construct()

File

core/lib/Drupal/Core/Http/Exception/CacheableNotAcceptableHttpException.php, line 19

Class

CacheableNotAcceptableHttpException
A cacheable NotAcceptableHttpException.

Namespace

Drupal\Core\Http\Exception

Code

public function __construct(CacheableDependencyInterface $cacheability, $message = NULL, \Exception $previous = NULL, $code = 0) {
  $this
    ->setCacheability($cacheability);
  parent::__construct($message, $previous, $code);
}